# Sandbox.BaseChair

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Component](/api/Sandbox.Component)

## Constructors

- [`BaseChair`](/api/Sandbox.BaseChair/.ctor)

## Properties

- [`ExitPoints`](/api/Sandbox.BaseChair/ExitPoints)
- [`EyePosition`](/api/Sandbox.BaseChair/EyePosition): A GameObject representing the eye position
- [`IsOccupied`](/api/Sandbox.BaseChair/IsOccupied): Returns true if the chair is currently occupied
- [`PitchRange`](/api/Sandbox.BaseChair/PitchRange): Pitch range for seated players
- [`SeatPosition`](/api/Sandbox.BaseChair/SeatPosition): A GameObject representing the seat position
- [`SitHeight`](/api/Sandbox.BaseChair/SitHeight): Height offset for sitting position, from -1 (lowest) to 1 (highest)
- [`SitPose`](/api/Sandbox.BaseChair/SitPose): The sitting pose to use when a player is seated
- [`TooltipDescription`](/api/Sandbox.BaseChair/TooltipDescription): A longer description for this chair's tooltip.
- [`TooltipIcon`](/api/Sandbox.BaseChair/TooltipIcon): The icon for this chair's tooltip. Either Material Icons or an Emoji.
- [`TooltipTitle`](/api/Sandbox.BaseChair/TooltipTitle): The title of this chair's tooltip. Empty to disable.
- [`YawRange`](/api/Sandbox.BaseChair/YawRange): Yaw range for seated players

## Methods

- [`AskToLeave`](/api/Sandbox.BaseChair/AskToLeave): Called on the host to request leaving the chair.
- [`CalculateEyeTransform`](/api/Sandbox.BaseChair/CalculateEyeTransform): Calculates the eye transform for a seated player
- [`CanEnter`](/api/Sandbox.BaseChair/CanEnter): Return true if this player can enter the chair
- [`CanLeave`](/api/Sandbox.BaseChair/CanLeave): Return true if this player can leave the chair
- [`CanPress`](/api/Sandbox.BaseChair/CanPress): Chair is usable if the player can enter
- [`Eject`](/api/Sandbox.BaseChair/Eject): Called on the client to eject the player from the chair.
- [`FindBestExitPoint`](/api/Sandbox.BaseChair/FindBestExitPoint): Returns a position to place the player when they exit the chair. This searches through ExitPoints to find the best one, which is usually the one the player is most facing towards.
- [`GetEyeTransform`](/api/Sandbox.BaseChair/GetEyeTransform): Get the transform representing the eye position when seated
- [`GetOccupant`](/api/Sandbox.BaseChair/GetOccupant): Gets the player that is currently occupying the chair
- [`GetTooltip`](/api/Sandbox.BaseChair/GetTooltip)
- [`Press`](/api/Sandbox.BaseChair/Press): Called when the player has pressed to use the chair. Only called if CanPress returned true.
- [`Sit`](/api/Sandbox.BaseChair/Sit): Called on the client to place the player in the chair.
- [`UpdatePlayerAnimator`](/api/Sandbox.BaseChair/UpdatePlayerAnimator): Called to update the player's animator when seated
