When I want my sprite to move, it's costume needs to change to a different one while it is running, and then change back to its original costume when it finishes moving. How do I achieve changing its costume back?
Here's what I have so far:
[scratchblocks]
when gf clicked
forever
wait until <key [a] is pressed>
move [-10] steps
repeat until []
switch to costume [costume5]
end
end
Offline
Oops, I meant to say this:
when gf clicked forever wait until <key [a] is pressed> move [-10] steps repeat until [] switch to costume [costume5] end endI need to figure out what to put next to "repeat until."
Offline