AbstractStaticlockThe player to apply the lock to.
StaticunlockUnlocks both camera and movement controls for the player.
The player to remove the lock from.
StaticlockDisables camera rotation and looking around for the player.
The player to restrict camera control for.
StaticunlockEnables camera movement (looking around) for the player.
The player to allow camera control for.
StaticlockDisables all movement-related input for the player. Prevents walking, strafing, sneaking, and mounting.
The player to restrict movement for.
StaticunlockEnables all movement-related input for the player. Allows walking, strafing, sneaking, and mounting.
The player to allow movement for.
StatichideHides all HUD (heads-up display) elements from the player's screen. This includes health, hotbar, and crosshair.
The player whose HUD should be hidden.
StaticshowResets and restores all HUD elements for the player.
The player whose HUD should be shown.
Locks both camera and movement controls for the player. Useful for cutscenes, dialogue, or scripted sequences.