> For the complete documentation index, see [llms.txt](https://docs.greenhellmodding.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.greenhellmodding.com/client-code-examples/disabling-player-movement.md).

# Disabling player movement

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

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

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