Discuss Scratch

kajob
Scratcher
21 posts

Externally controlling the x and y position of another sprite from a script in a separate sprite in 1.4

Is it possible. E.g. instead of using go to x: y: is there a block or block combination in 1.4 that moves another sprite. perhaps, using the block in variable section and then using the from sensing. Does anyone have any solutions?
scubajerry
Scratcher
1000+ posts

Externally controlling the x and y position of another sprite from a script in a separate sprite in 1.4

A sprite has to move its self. Set variables for the desired X and Y locations

set [desired X v] to [55]
set [desired Y v] to [99]
broadcast [MOVE IT v]

// in the sprite you want to move,
when I receive [MOVE IT v]
go to X: (desired X) y:(desired Y)

Powered by DjangoBB