How to get editor transform events?

I want to create custom blueprint prefab that has directional light component and changes it’s intensity parameter based on blueprint’s root transform pitch (main root drives orientation of multiple components and static meshes). I want it to update directional intensity automatically as I rotate blueprint root in editor, but stay static during gameplay. I have a timeline with looped float track interval of 0-360 as time, 0-20-0-0 as light intensity value and assume, that I need to check current updated angle with conditions and plug branch node in play and reverse slots of timeline.

However, I don’t know how to detect that blueprint’s root is being rotated and tell script to start reading pitch value in real time and updating directional light intensity with timeline.

This is a job for the Construction Script:

You can change things here prior Runtime. It is often used for Procedural Level Generation.