Play animation when E is pressed

How would I play a animation on the E key press?

Hi @Mason_Rocchio,

Check this tutorial, it shows exactly that:


did not work
the animation will not play when I press the P key

There is a link to the full scene demonstrating it at the very end of the tutorial … when I open it in the Editor and launch it, it works for me.


the animation just wont play

Because it is an iframe in the tutorial, you have to click on the PlayCanvas app and then hold the P key

what is the playcanvas app?