[SOLVED] Scripting cut scene by disabling the movement script out another

how do I use a script to stop the first-person movement script on my player?

when it cancels the player movement script, it is supposed to move the player forwards, but I cannot find out how to stop the player script

this is all I got of the cancellation script so far: PlayCanvas | HTML5 Game Engine

Hi @Linkplayer!

Based on what you have so far it should be something like below.

    this.player.script.firstPersonMovement.enabled = false;

Thank you, the script works perfectly

1 Like