How to get every point light in the level and set it's intensity

i want to get every point light in my level and be able to switch it’s intensity

Hi Logs.

You can simply use “GetAllActorsOfClass” and loop through the results.

Although, if your scene has many point lights, this would be expensive for repeated use. It is best to store the results in an array. This might be a more slightly more efficient solution.