For the complete documentation index, see llms.txt. This page is also available as Markdown.

Disabling player movement

In order to block/disable the player movement we can use 2 methods from the Player class.

// Blocking the movement and rotation
Player.Get().BlockMoves();
Player.Get().BlockRotation();

// Unblocking the movement and rotation
Player.Get().UnblockMoves();
Player.Get().UnblockRotation();

Last updated