upload your project and post a link to it and someone will take a look at it
Offline
Make sure the value for what you're calling "y" is equal to either the width or the height of the costume (depending on whether your script is snapping to x- or y-positions. For example:
when gf clicked set [Width v] to [20] set [Height v] to [30] forever set [CurrentMouseX v] to (mouse x) set [CurrentMouseY v] to (mouse y) set [DestinationX v] to ((round((CurrentMouseX) / (Width))) * (Width)) set [DestinationY v] to ((round((CurrentMouseY) / (Height))) * (Height)) go to x: (DestinationX) y: (DestinationY) end
Last edited by amcerbu (2012-06-18 17:47:58)
Offline