Get all actors of class/casting can only modify one array instance per cast? (lights and lightswitch)

Hi JoshieZombie

Placing a “ForEachLoop” after GetAllActorsOfClass should do the trick. Simply connect the the top Execution line and the Array-Element with the cast to Light_BP node. The Blueprint should then iterate over all elements in the Actor-Array, cast each element and switch on/off the light accordingly.

-Elewyth