Look at the attack key and press the corresponding arrow to do the attack. Each attack has a recharge amount. Look at the cooldown to know when your cooldown is over. The tiger also has a cooldown, but the number is invisible.
This was a project request from one of my classmates, the idea was not mine at all (though I did do all of the coding)! Unfortunately I can't credit their Scratch account because they don't have one.