Check if an object gets selected?


is it possible to check if an object gets selected? I wanna perform an action once/if the user selects an object in the scene.


The Blender/Python API can’t (yet)…

  • Define callbacks or listeners to be notified when data is changed.


It’s only possible with a hack, basically check on every scene refresh (~30x per second) if .select is True for a certain object.

Oh, thank you for notifying me! :slight_smile: