Assigning a function when a property change

Hi, I want to use a function whenever the property bpy.data.scenes[0].frame_end is changed.
Does anyone knows if it’s possible doing it without using handlers? Maybe with a modal operator and events?
I’m trying to avoid using handlers because of its performance issues.

Thanks for any tip

You could try to use msgbus:


https://developer.blender.org/P563

1 Like