change by x: () y: ()

From PenguinMod Wiki (Official)
Change by x: () y: ()
Jump to navigation Jump to search


The change by x: () y: () block is a stack block and a Motion block. This block changes the position of the sprite by selected x and y. The default values are both 10.

Workaround

If pen isn't used for pen down/up, this block can be worked around using the change x by () and change y by () blocks.

change x by (change in x::grey)
change y by (change in y::grey)

Otherwise, a workaround with the go to x: () y: () block can be used:

go to x: ((x position) + (change in x::grey)) y: ((y position) + (change in y::grey))