How to make a sprite follow a moving clone

id: 749617

category: Help with Scripts

posts: 5

I can't seem to make my sprite follow my moving clone
In your moving clone, run this script:
forever
set [x pos v] to (x position)
set [y pos v] to (y position)
end
In your sprite, run this script:
forever
go to x: (x pos) y: (y pos)
end
Also, congrats on your first post!
Eason_9 Eason_9 loading

TheUltimateHoodie wrote:

(#2)

forever
set [x pos v] to (x position)
set [y pos v] to (y position)
end

Note that x pos and y pos should be a “For this sprite only” variable for it to function nvm