Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need help with variables in animation!
- SuperEpicAwesomeDude
-
Scratcher
6 posts
Need help with variables in animation!
Hey, so I'm tryin to make a lil animation. I have my characters constantly switching between 2 seperate costumes to form an idle animation of sorts. I wanna be able to easily stop the animation when I want them to do something else.
So I have a variable and have it equal “idle” when I want the idle animation. So when I want the animation to stop, I wanna have something like
When greenflag pressed
Repeat until (Animation1) = Not (IDLE)
Idle animation down here
But there's no way that I know of to enter the “Idle” text into the Not section. (Same with numbers)
Am I missing something? Cuz I'm fairly new to scratch and I can't find anything online either. Sorry for the kinda lengthy post.
So I have a variable and have it equal “idle” when I want the idle animation. So when I want the animation to stop, I wanna have something like
When greenflag pressed
Repeat until (Animation1) = Not (IDLE)
Idle animation down here
But there's no way that I know of to enter the “Idle” text into the Not section. (Same with numbers)
Am I missing something? Cuz I'm fairly new to scratch and I can't find anything online either. Sorry for the kinda lengthy post.

- NotK3ndricAltAgain
-
Scratcher
500+ posts
Need help with variables in animation!
<not <(Animation) = [Idle]>>
- SuperEpicAwesomeDude
-
Scratcher
6 posts
Need help with variables in animation!
Ohhh, Thank you so much! (Can't believe I didn't think about that, haha)<not <(Animation) = [Idle]>>

- Discussion Forums
- » Help with Scripts
-
» Need help with variables in animation!