#57. Up and down
When the green flag is clicked, this script runs. What is the cat's **y** position?
when green flag clicked go to x: (44) y: (69) change y by (43) change y by (-18)
# The sprite's (cat's) position, direction and size x_pos = 0 y_pos = 0 # When the green flag is clicked x_pos, y_pos = 44, 69 y_pos += 43 y_pos -= 18
// The sprite's (cat's) position, direction and size let x_pos = 0, y_pos = 0; // When the green flag is clicked x_pos = 44; y_pos = 69; y_pos += 43; y_pos -= 18;
💡 Not sure? Build it in Scratch and try it out.