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 did research on app handlers and msgbus to no avail. Is msgbus deprecated in Blender 3.4? Because the documentation's sample code is not working for me.
I would like this. For example, pseudocode I'm trying to make:
def on_transform_complete(event):
print("transform complete/confirmed")
my_object.addEventListener("TRANSFORM_COMPLETE", on_transform_complete)
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.

