Thank you Mike Bonner, Mark Schonewille and Alejandre Tejada.
I did work in the direction of Mike and Marks script but I forgot to use Local.
That solved it.
Alejandro I did not dig deep into your stack as the solution was ready at hand
from Mike and Mark.
But you can always us a bezier script
Hoping I didn't mix up the x's and y's, I believe the script you need
looks like this:
local myOldX,myOldY
on mouseMove theNewX,theNewY
if myOldX < theNewX then put
"right" into myMovement
else
put "left" into myMoveMent
end if
if myOldY > myNewY then put
"down" into myMoveMe
You do need to track the last location... here is a stack that does what
you want. (script could be better i'm sure, but its a starting point.. )
https://www.dropbox.com/s/y6du5nmz5diiv0f/movedir.livecode?dl=0
Basically I put 4 square graphics on screen, top, bottom, right, and left
position.
T