#75. 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: (58) y: (-74) change y by (26) change y by (21)
# 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 = 58, -74 y_pos += 26 y_pos += 21
// The sprite's (cat's) position, direction and size let x_pos = 0, y_pos = 0; // When the green flag is clicked x_pos = 58; y_pos = -74; y_pos += 26; y_pos += 21;
💡 Not sure? Build it in Scratch and try it out.