Change Y by ()
Change Y by ()
Category Motion
Type Stack
The Change Y by () block is a Motion block and a Stack block. The block moves its sprite's Y position by the specified amount.

Common UsesEdit

Often in games, the player controls a sprite and moves it around, such as with velocity. In this way, the Change Y by () block (and the Change X by () block) can become very useful.

Behind the ScenesEdit

The code is rather simple:

A workaround for the Change Y by () block

The code sets the sprite's Y position to its Y position, plus the specified amount - exactly what the Change Y by () block does.

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.