Mouse over shape / get trigger by mouse move

Hello everyone,
i am looking for a way to get a trigger when i hover over a shape with the mouse.
Or when i move the mouse over a certain distance to get a trigger.

with trigger i mean a chop value of 1.

I want to trigger Midi notes in Ableton when I hover over element in touchdesigner or move the mouse on a specific distance to get a trigger.

I hope someone can help me!



You can do this using the a mixture of the Logic and Expression CHOPs, or you can use Python via a CHOP Execute and a Panel CHOP. You just need to area of the shape(s) (using the UV of the image) and you can trigger something to happen accordingly.