Mouse position: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 774:
<lang liveCode>
-- Method 1:
-- this script in either the Stackstack Scriptscript or the Cardcard Scriptscript to get position relative to the "current stack window"
on mouseMove pMouseH,pMouseV
put pMouseH,pMouse
end mouseMove
 
-- Method 2:
-- this script can go anywhere andto get current position relative to the "current stack window"
put mouseLoc()
 
-- Method 3:
-- this script can go anywhere andto get current position relative to the "current stack window"
put the mouseLoc -- "
 
-- Method 4:
-- this script can go anywhere andto get current position relative to the "current window"
put the mouseH &","& the mouseV