#28. 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 (91) change x by (-22) change x by (47)
# The sprite's (cat's) position, direction and size x_pos = 0 # When the green flag is clicked x_pos = 91 x_pos -= 22 x_pos += 47
// The sprite's (cat's) position, direction and size let x_pos = 0; // When the green flag is clicked x_pos = 91; x_pos -= 22; x_pos += 47;
💡 Not sure? Build it in Scratch and try it out.