tModLoader Get light level at player

Ahndrek Li'Cyri

Skeletron Prime
Hello there!
Is it at all possible to get the current brightness of light where the player is? If so, how would one go about doing that?
Thanks!
 
i think Lighting.GetColor(x, y) should work, and replace (x,y) with some position
 
i think Lighting.GetColor(x, y) should work, and replace (x,y) with some position
This worked perfectly, thank you!
 
Back
Top Bottom