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