Changing X and Y Positions
- 
					
					
					
					
 IntroductionYou can set the X and Y positions for a sprite using these blocks:  However, if you just want to move a sprite relative to its current position, there is a simpler way. The “Change X By” BlockIf you want to move a sprite along the X direction (left or right), you can use the “change x by” block. A positive value would move the sprite to the right, and a negative value would move the sprite to the left.  Note that if the sprite is already on the left or right edge, then you can not change the X position further away from the center. The “Change Y By” BlockIf you want to move a sprite along the Y direction (up or down), you can use the “change y by” block. A positive value would move the sprite higher, and a negative value would move the sprite lower.  Changing X and Y TogetherNote that if you want to change both X and Y positions at the same time, you can simply use the “change x by” and “change y by” blocks together. Since both blocks run very very fast, it will look as if both blocks run at the same time: 