2.3.2 “Change X By” and “Change Y By” Block

View

The “change x by” block

The “change x by” block changes the value of X.  Positive numbers move X to the right and negative numbers move X to the left.

 

The above will move x position to 10 pixels or units to the right.

The block above will move the X position 50 pixels to the left.


The “change y by” block

The “change y by” block changes the current value of Y.  Positive numbers move Y to the top and negative numbers move Y to the bottom.

The following will move Y position 10 pixels to the top

The following will move Y position 150 pixels to the bottom

Last modified: Friday, 24 September 2021, 4:32 PM