Cabbage Logo
Back to Cabbage Site

Cursor coördinates

Hello once again,

I’m in need of the cursor x position in pixels (no clicks).
I found xyin and FLxyin so far.
The first one is deprecated I understand and the second one doesn’t work after copying the git repository needed for FL plugins. If csound doesn’t know where the plugins are, I scanned them with the added location in 3rd party plugins.
Now, the xypad widget doesn’t really suit my needs for it blocks the other widgets.

Has anyone got an idea how to get this done ?

Kind regards,

Yorick

The channels MOUSE_X and MOUSE_Y will give you x and y coordinated.

kX chnget "MOUSE_X"
kY chnget "MOUSE_Y"
1 Like