Determining left or right movement in a mouseMove handler

Michael Kristensen michael-kristensen at dsa-net.dk
Tue Jun 27 06:32:13 EDT 2017


Hi there

How can I determine if the mouse is moving left or right (or up or down) on the screen in a mouseMove handler?

Not just from the outset (that is easy) but at any moment, like when a user changes his mind and move the opposite way.

Something like put x into oldX will not work.

Thanks
Michael



More information about the use-livecode mailing list