# Sandbox.Movement.MoveMode

A move mode for this character

- Kind: class
- Namespace: `Sandbox.Movement`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Component](/api/Sandbox.Component)
- Modifiers: abstract

## Properties

- [`AllowFalling`](/api/Sandbox.Movement.MoveMode/AllowFalling)
- [`AllowGrounding`](/api/Sandbox.Movement.MoveMode/AllowGrounding)
- [`Controller`](/api/Sandbox.Movement.MoveMode/Controller)

## Methods

- [`AddVelocity`](/api/Sandbox.Movement.MoveMode/AddVelocity)
- [`CalculateEyeTransform`](/api/Sandbox.Movement.MoveMode/CalculateEyeTransform): Get the position of the player's eye
- [`IsStandableSurace`](/api/Sandbox.Movement.MoveMode/IsStandableSurace)
- [`IsStandableSurface`](/api/Sandbox.Movement.MoveMode/IsStandableSurface)
- [`ModifyCamera`](/api/Sandbox.Movement.MoveMode/ModifyCamera): Reshape the player's view while this mode is active - swimming tilt, ladder lean, sitting offsets. Runs inside the PlayerController's camera stage, right after it writes the base view, so modes don't need to join the camera's modifier chain themselves. Base does nothing.
- [`OnModeBegin`](/api/Sandbox.Movement.MoveMode/OnModeBegin): This mode has just started
- [`OnModeEnd`](/api/Sandbox.Movement.MoveMode/OnModeEnd): This mode has stopped. We're swapping to another move mode.
- [`PostPhysicsStep`](/api/Sandbox.Movement.MoveMode/PostPhysicsStep): Called after the physics step is run
- [`PrePhysicsStep`](/api/Sandbox.Movement.MoveMode/PrePhysicsStep): Called before the physics step is run
- [`Score`](/api/Sandbox.Movement.MoveMode/Score): Highest number becomes the new control mode
- [`UpdateAnimator`](/api/Sandbox.Movement.MoveMode/UpdateAnimator): Update the animator which is available at Controller.Renderer.
- [`UpdateCamera`](/api/Sandbox.Movement.MoveMode/UpdateCamera): Called to update the camera each frame
- [`UpdateMove`](/api/Sandbox.Movement.MoveMode/UpdateMove): Read inputs, return WishVelocity
- [`UpdateRigidBody`](/api/Sandbox.Movement.MoveMode/UpdateRigidBody)
