From Test-Scratch-Wiki
The Y Position is where the sprite is on the Y axis (vertical) of the stage. The value gets higher or lower depending on how far up on the Stage the sprite is. Directly in the center is 0, the top of the screen is 180, and the lower limit of the screen is -180. The sprite's costume center is where the X and Y positions meet.
Related Blocks
The following blocks may be used in conjunction with this value:
— The stage monitor and reporter block that reports the value
— Sets the Y Position of a particular sprite to a value
— Changes the Y Position by a value
— Goes to a spot on the stage, an X and Y value
— Goes to a sprite or the Mouse-pointer
- Glide () Secs to X: () Y: () - Glides over an amount of time to a certain spot
- () of () (Sensing block)
— A block that reports the value of any sprite's X Position, Y Position, Direction, Costume/Background number, Size, Volume, Variables
Example Uses
Some common uses for the Y Position value are below:
- Sliders
- Moving a sprite on the stage vertically (up/down)
- Finding a sprite's Y Position