======Stop Player======
----
Stops the player and cancels any queued movement. If the player is currently in the process of walking to the next adjacent [[tile]] in their planned path, that movement will first be completed before the player is stopped.
====Signature:====
stop_player()
^Argument^Description^Type^Required^
| (No arguments for this function) ||||
[[set_player_movement_locked|Lock/Unlock Player Movement]] would typically be used after this function in order to prevent the player from making any further movements during a scripted sequence.
====Example:====
stop_player();
//Results:// The player is stopped.
Use the **Stop Player** function to force the player to stop on their current [[tile]] prior to a scripted event or cutscene taking place.
----
====Editor Node:====
{{:wiki:stop_player_node.png?nolink|}}
====Visual Demo:====
{{:wiki:fade_out_demo.gif?nolink|}}
~~NOTOC~~