Get the main light direction||doc135705

September 20, 2022

Format

 GameSettings:getMainLightDir() 

Description

Get the direction of the main light.


Value Returned

type Description
Vector3 return direction


Code Samples

local MainDir = Blockman.Instance().gameSettings:getMainLightDir()
print(MainDir)