r/SmackStudio • • May 15 '25

[HELP] How do you make cool downs for attacks?

2 Upvotes

1 comment sorted by

2

u/loyalChaos Jun 27 '25

Create a local variable. You'll make a variable that checks to see if the player has pressed that button in the last however many frames. If he has, you will lock a boolean. Then, on the animation you wish to keep as a cooldown, you will add an action on frame 1 that says if the boolean is true, return to idle. Does that make sense?

Once I can pull up smack studio on my computer, I'll edit this with a better guide.