How to get the brightness of a specific point?

I’m making a game, and one of the things I want to do is have plants grow when they’re in bright light, as well as giving a boost to a certain player when they’re in darkness.

I’m not sure how to implement this, though. Is there any way to find out how much light is hitting the floor or a specific point in space?

I’m not asking about how to get the color of a point (because colors have brightness), I’m talking about the light that emits from the sun and other light-emission objects.

I know I could probably loop through all lights and guess how much light is in a specific point in space that way, but I want to know if roblox has a function themselves to offer the value

I’m not entirely sure of there’s a way to do so with the brightness casted by the light itself, but you can utilize the brightness and radius of the light parts in the game to calculate yourself how much light is on a player

1 Like

If there’s not a way, I’ll make my own system to get it and share the code on the forums
Cant find anything so I’m confident that roblox doesnt have any tools to get the brightness of a single point