🎮 You're trying this without an account. After the first 3 problems, sign up for free to keep going. With an account, your points are saved.
#2. Changing x
When the green flag is clicked, this script runs. What is the cat's **x** position?
when green flag clicked set x to (48) change x by (-12) change x by (-25)
# The sprite's (cat's) position, direction and size x_pos = 0 # When the green flag is clicked x_pos = 48 x_pos -= 12 x_pos -= 25
// The sprite's (cat's) position, direction and size let x_pos = 0; // When the green flag is clicked x_pos = 48; x_pos -= 12; x_pos -= 25;
💡 Not sure? Build it in Scratch and try it out.