[PD] How to get x-y coordinate data?
Thomas Musil
musil at iem.kug.ac.at
Sat Oct 6 04:02:17 CEST 2001
> andychen5018 wrote:
>
> Hi,
>
> I need some help on some programming. Does anyone know how to
> retrieve the coordinate data of the mouse cursor? Is there a function
> in PD that I can use?
>
> This is just for a project that we are working on. If anyone can
> help, plz let me know.
>
> Andy Chen
hi andi
in pd-0.34-2 there is a gui-object named my_canvas (Put|Canvas).
if you right-click the help-patch, maybe there is your solution.
the 2 squares send only the relative mouse-coordinates (top-left corner
of window is 00).
tom
More information about the Pd-list
mailing list