If I move an object or rotate an object and press Enter to confirm, I would like to trigger a function. Is this possible?
I would like this. For example, pseudocode I'm trying to make:
Here's a similar post using
scene_update_post, but it's outdated now and does not work anymore.
I did experiment on
bpy.app.handlers.depsgraph_update_post, but the problem is that it keeps updating while dragging object, but I need my update to trigger only exactly once after the drag is confirmed with a final position or rotation or scale. There must be some "complete" event that gets dispatched which I can listen or subscribe to.