ver 1.19.3
Just want to know how to make it so an animation only continues after i… press the spacebar or something.
like im doing a presentation and i want it to go at my pace.
Ive seen it done before, but i dont remember how to do it anymore.
ver 1.19.3
Just want to know how to make it so an animation only continues after i… press the spacebar or something.
like im doing a presentation and i want it to go at my pace.
Ive seen it done before, but i dont remember how to do it anymore.
Hello @Shiny_Gardevoir!
You can do this by adding this code to the update script of a frame:
stop();
if(isKeyJustPressed("space"))
gotoNextFrame();
Let me know if you’ll need an example or anything else
is there an option in the script menu called an update script or do i just type this into the default one?
You can also make a keypressed script, go to the input and click if(key) and replace the a with space
whenever i try the script it either stops and never goes, or never stops
weird
There is one, but if you would like to type it into the default script instead, you can type this:
stop();
onEvent('update', function () {
if(isKeyJustPressed("space"))
gotoNextFrame();
});
The update script can be found by clicking the frame, clicking “add script,” selecting “timeline,” then click “update”
ill do that, but instead of just the next frame, ill say play, and it will only stop once another block appears.
the only reason i want to know how to do this is because google slides animation is bad and this gives me more freedom to work with
thanks for the information!