InteractionEndEvent for TransformNode

Hello,

I would like to trigger an event when the interaction with the transform node’s handles in Slicer 5.7 ends after modifying the transform (similar to the PointEndInteractionEvent feature in Markups).

So far, I’ve been using the following code:

transformNode.AddObserver(slicer.vtkMRMLTransducerNode.TransformModifiedEvent, myFunction)

However, with this approach, the event keeps firing continuously during the transformation, which consumes a lot of computing power.

Is there an existing feature for this, or would I need to implement a custom event? Any advice would be greatly appreciated.