Getting Blueprint Class to Run Without Game Playing UE5.1

I’m having the same problem with this, I’m using Ultra dynamic sky to light my environment and i’ve made a custom blueprint to turn on lights based on timing the blueprint works but only when i start PIE but not actually when i change direction of the sun in the editor without playing.

I can’t find any tutorials to make this effect run in construction script from event graph.

Can someone guide me to a tutorial or how to make the same thing in construction script so it runs the editor as well.