Registering callback to run on mouse release (when object is dropped/mouse is released)

Registering callback to run on mouse release (when object is dropped/mouse is released)

graphics_rat
Participant Participant
194 Views
0 Replies
Message 1 of 1

Registering callback to run on mouse release (when object is dropped/mouse is released)

graphics_rat
Participant
Participant

The title says it. I would like a function to run when a specific object is dropped.

 

I know MPxContext supports doRelease but it creates a new context/tool whereas I'd like users to be able to use the default move tool. Having a separate move tool for a class of objects is unintuitive.

 

0 Likes
195 Views
0 Replies
Replies (0)