Basic drag 'n drop script:
when [sprite1 v] clicked set [offset x v] to ((x position) - (mouse x)) set [offset y v] to ((y position) - (mouse y)) repeat until <not <mouse down?>> go to x: ((mouse x) + (offset x)) y: ((mouse y) + (offset y)) end
Offline
MoreGamesNow wrote:
Basic drag 'n drop script:
when [sprite1 v] clicked set [offset x v] to ((x position) - (mouse x)) set [offset y v] to ((y position) - (mouse y)) repeat until <not <mouse down?>> go to x: ((mouse x) + (offset x)) y: ((mouse y) + (offset y)) end
Will try, thanks.
Offline