47. Add a mouse or touch skip button
1. Create a GUI with ID skip_controls, hidden by default and activated by a trigger.
2. Place a readable Button in a screen corner. Give it a label such as Skip introduction.
3. Set its Click event to Run Script and select skip_intro.
4. Let the wrapper show the GUI before playback and hide it afterward.
5. Test clicking the real button while gameplay input is locked.
extends PCAScriptBasefunc run() -> void:
Runtime.cutscene_runner.skip()This script requests a normal skip and respects Skippable. It is different from force-stopping the cutscene. If you make the sequence unskippable, do not present an apparently usable Skip button; the wrapper only shows it when the option is enabled.
Keep the GUI non-modal unless you deliberately need a modal layer. A cutscene input lock blocks ordinary world commands; it should not prevent your authored cinematic controls from doing their own job.
A new cutscene does not automatically acquire the Clockmaker demo’s touch skip interface. That interface is authored content. Create and assign your own button or use an equivalent established project control.
