How to skip a cutscene?

I have a cutscene I want to make skippable, but I have trouble to make it work. The cutscene is an auto-run Common Event, and while it's running, there's a parallel Common Event that checks if the ESC button is being pressed. When the ESC button is pressed, it needs to teleport the player to another map and basically stop the cutscene event from doing whatever it's doing. What happens, though, is that it teleports the player to the map I want to, but then the cutscene event still continues to run. How do I make it stop going once ESC is pressed?


Secondary question: I have also found out the player is able to move while this cutscene is running. Why is this happening, and how do I turn it off? (I thought any player input was not used while auto-events are running?)
You cannot stop an event from the outside (at least not without a lot of script trouble), you need to stop it from the inside.


Make the parallel process turn on a switch.


In the autorun, every few other commands, include a conditional branch checking that switch and "jump to label: end".


Then place that label at the end of the autorun.


Depending on when you press the button, the cutscene will be skipped at the next conditional branch - be carefull where you place them for best effect.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-skip-a-cutscene.69462/