How to Drag and Drop?

I program a station with a custom tool, that should drag an object, move it to another position and drop it.
The question is how I can configure the tool to be turned on and off.

Hi,

You need to set up events in the “Event Manager” to attach/detach objects.

Take a look in the RS help, chapter “How to Work with the Event Table”.

Thank you very much for the hint, got it working.