Paper2D - Play animation frame on keypress

Hello everyone,

I’m a beginner with Paper2D (and UE) and I would like to make a ‘custom animation’ : I want to go to the next frame only when a key is pressed.
I was wondering : what is the ‘best’ way to do this ?

I can change sprites on keypress but it seems very ugly. Plus, I would like to have this behavior only on one animation, the others must work normally.

I’m reading docs to find a proper way of doing this using Paper2D’s animations.

Thanks a lot !

You can’t Paper2D has no functionality for this. you have to manually change the sprite.