You may just have mixed up "on key down" with "key press"
Post a screenshot of your events (or a project file) if that wasn't it.
Hi ! Thank you for your reply !
My construct is in french, so it may be useless that I put a screenshot. But what you are explaining was not the issue^^
I would like that each time I press the spacebar, a new animation plays.
It would be like :
Press spacebar --> play animation 1
Second press spacebar --> play animation 2
Third press spacebar --> play animation 3
Forth press spacebar --> play animation 4
But when I tried it, it did not work as I could not tell how many time do I have to press the spacebar to obtain the 4th animation...
It is basically the same concept as an energybar but with the drawing of a portal : to see the progression of the portal as I press the space bar.
So maybe there is another way to do so ?
I hope it makes sense :D
Thank you ! :)