# VehicleSeat

Roblox Engine API class from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- Inherits from, nearest first: [BasePart](https://rapi.sleaze.dev/classes/BasePart.md), [PVInstance](https://rapi.sleaze.dev/classes/PVInstance.md), [Instance](https://rapi.sleaze.dev/classes/Instance.md), [Object](https://rapi.sleaze.dev/classes/Object.md)
- Memory category: Instances
- HTML page: https://rapi.sleaze.dev/classes/VehicleSeat/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/VehicleSeat

A seat object that can be used to control a vehicle.

## Properties

### AreHingesDetected

```luau
VehicleSeat.AreHingesDetected: number = 0
```

- Tags: Read only, Read capabilities: AvatarBehavior + Basic

Displays how many hinges are detected by the [`VehicleSeat`](https://rapi.sleaze.dev/classes/VehicleSeat.md). Useful for debugging vehicle designs.

### Disabled

```luau
VehicleSeat.Disabled: boolean = false
```

- Tags: Read capabilities: AvatarBehavior + Basic, Simulation access

Toggles whether the [`VehicleSeat`](https://rapi.sleaze.dev/classes/VehicleSeat.md) is active or not.

### HeadsUpDisplay

```luau
VehicleSeat.HeadsUpDisplay: boolean = true
```

- Tags: Read capabilities: AvatarBehavior + Basic

If `true`, a UI speed bar will be displayed on screen that tells you what speed the vehicle is moving at.

### MaxSpeed

```luau
VehicleSeat.MaxSpeed: number = 25
```

- Tags: Read capabilities: AvatarBehavior + Basic, Simulation access

The maximum speed that can be attained.

### Occupant

```luau
VehicleSeat.Occupant: Humanoid
```

- Tags: Read only, Read capabilities: AvatarBehavior + Basic, Simulation access

The [`Humanoid`](https://rapi.sleaze.dev/classes/Humanoid.md) that is sitting in the seat.

### Steer

```luau
VehicleSeat.Steer: number = 0
```

- Tags: Not replicated, Read capabilities: AvatarBehavior + Basic, Simulation access

The direction of movement, tied to left and right movement inputs.

### SteerFloat

```luau
VehicleSeat.SteerFloat: number = 0
```

- Tags: Read capabilities: AvatarBehavior + Basic, Simulation access

The left-to-right movement float, tied to left and right movement inputs.

### Throttle

```luau
VehicleSeat.Throttle: number = 0
```

- Tags: Not replicated, Read capabilities: AvatarBehavior + Basic, Simulation access

The direction of throttle, tied to forward and backward movement inputs.

### ThrottleFloat

```luau
VehicleSeat.ThrottleFloat: number = 0
```

- Tags: Read capabilities: AvatarBehavior + Basic, Simulation access

The forward-to-reverse throttle float, tied to forward and backward movement inputs.

### Torque

```luau
VehicleSeat.Torque: number = 10
```

- Tags: Read capabilities: AvatarBehavior + Basic, Simulation access

How fast the vehicle will be able to attain [`MaxSpeed`](https://rapi.sleaze.dev/classes/VehicleSeat.md).

### TurnSpeed

```luau
VehicleSeat.TurnSpeed: number = 1
```

- Tags: Read capabilities: AvatarBehavior + Basic, Simulation access

The speed at which the vehicle will turn. Higher numbers can cause problems and are not necessarily better.

## Methods

### Sit

```luau
VehicleSeat:Sit(humanoid: Instance)
```

- Tags: Capabilities: AvatarBehavior + Basic

Forces the character with the specified [`Humanoid`](https://rapi.sleaze.dev/classes/Humanoid.md) to sit in the [`VehicleSeat`](https://rapi.sleaze.dev/classes/VehicleSeat.md).

Parameters:

- `humanoid`: The [`Humanoid`](https://rapi.sleaze.dev/classes/Humanoid.md) being forced to sit in the [`VehicleSeat`](https://rapi.sleaze.dev/classes/VehicleSeat.md).

## Events

### RemoteCreateSeatWeld

```luau
VehicleSeat.RemoteCreateSeatWeld: RBXScriptSignal<(humanoid: Instance)>
```

- Tags: Hidden, Capabilities: AvatarBehavior + Basic

### RemoteDestroySeatWeld

```luau
VehicleSeat.RemoteDestroySeatWeld: RBXScriptSignal<()>
```

- Tags: Hidden, Capabilities: AvatarBehavior + Basic

## Inherited members

- From [BasePart](https://rapi.sleaze.dev/classes/BasePart.md): `BrickColor`, `CastShadow`, `Color`, `Color3uint8`, `Material`, `MaterialVariant`, `MaterialVariantSerialized`, `Reflectance`, `Transparency`, `brickColor`, `AssemblyAngularVelocity`, `AssemblyCenterOfMass`, `AssemblyLinearVelocity`, `AssemblyMass`, `AssemblyRootPart`, `DraggingV1`, `EnableFluidForces`, `NetworkOwnershipRule`, `AudioCanCollide`, `CanCollide`, `CanQuery`, `CanTouch`, `CollisionGroup`, `CollisionGroupReplicate`, `CollisionGroupId`, `LocalTransparencyModifier`, `Locked`, `NetworkIsSleeping`, `NetworkOwnerV3`, `ResizeableFaces`, `ResizeIncrement`, `Rotation`, `RotVelocity`, `SpecificGravity`, `Velocity`, `Anchored`, `CenterOfMass`, `CurrentPhysicalProperties`, `CustomPhysicalProperties`, `Mass`, `Massless`, `ReceiveAge`, `RootPriority`, `siz`, `size`, `Elasticity`, `Friction`, `PivotOffset`, `BackSurface`, `BottomSurface`, `FrontSurface`, `LeftSurface`, `RightSurface`, `TopSurface`, `BackParamA`, `BackParamB`, `BackSurfaceInput`, `BottomParamA`, `BottomParamB`, `BottomSurfaceInput`, `FrontParamA`, `FrontParamB`, `FrontSurfaceInput`, `LeftParamA`, `LeftParamB`, `LeftSurfaceInput`, `RightParamA`, `RightParamB`, `RightSurfaceInput`, `TopParamA`, `TopParamB`, `TopSurfaceInput`, `CFrame`, `ExtentsCFrame`, `ExtentsSize`, `Orientation`, `PhysicsRepRootPart`, `PhysicsRepRootRef`, `Position`, `ReplicationPV`, `Size`, `AngularAccelerationToTorque`, `ApplyAngularImpulse`, `ApplyImpulse`, `ApplyImpulseAtPosition`, `BindToCollisionSummaries`, `CanCollideWith`, `CanSetNetworkOwnership`, `GetClosestPointOnSurface`, `GetConnectedParts`, `GetJoints`, `GetMass`, `GetNetworkOwner`, `GetNetworkOwnershipAuto`, `GetNoCollisionConstraints`, `GetPhysicsCost`, `GetTouchingParts`, `GetVelocityAtPosition`, `IntersectAsync`, `IsGrounded`, `Resize`, `SetNetworkOwner`, `SetNetworkOwnershipAuto`, `SubtractAsync`, `TorqueToAngularAcceleration`, `UnionAsync`, `BreakJoints`, `GetRenderCFrame`, `GetRootPart`, `MakeJoints`, `breakJoints`, `getMass`, `makeJoints`, `resize`, `NetworkOwnerChanged`, `Touched`, `TouchEnded`, `LocalSimulationTouched`, `OutfitChanged`, `StoppedTouching`
- From [PVInstance](https://rapi.sleaze.dev/classes/PVInstance.md): `Pivot Offset`, `Origin`, `GetPivot`, `PivotTo`
- From [Instance](https://rapi.sleaze.dev/classes/Instance.md): `Archivable`, `archivable`, `Attributes`, `AttributesReplicate`, `AttributesSerialize`, `HistoryId`, `Name`, `Parent`, `PredictionMode`, `PropertyStatusStudio`, `RobloxLocked`, `SerializedOverrides`, `SourceAssetId`, `Tags`, `UniqueId`, `numExpectedDirectChildren`, `DataCost`, `Capabilities`, `DefinesCapabilities`, `IsInSandbox`, `Sandboxed`, `AddTag`, `ClearAllChildren`, `Clone`, `Destroy`, `FindFirstAncestor`, `FindFirstAncestorOfClass`, `FindFirstAncestorWhichIsA`, `FindFirstChild`, `FindFirstChildOfClass`, `FindFirstChildWhichIsA`, `FindFirstDescendant`, `GetActor`, `GetAttribute`, `GetAttributeChangedSignal`, `GetAttributes`, `GetChildren`, `GetDebugId`, `GetDescendants`, `GetFullName`, `GetStyled`, `GetStyledPropertyChangedSignal`, `GetTags`, `HasTag`, `IsAncestorOf`, `IsDescendantOf`, `IsPropertyModified`, `QueryDescendants`, `RemoveTag`, `ResetPropertyToDefault`, `SetAttribute`, `WaitForChild`, `Remove`, `children`, `clone`, `destroy`, `findFirstChild`, `getChildren`, `isDescendantOf`, `remove`, `AncestryChanged`, `AttributeChanged`, `ChildAdded`, `ChildRemoved`, `DescendantAdded`, `DescendantRemoving`, `Destroying`, `StyledPropertiesChanged`, `childAdded`
- From [Object](https://rapi.sleaze.dev/classes/Object.md): `ClassName`, `className`, `GetPropertyChangedSignal`, `IsA`, `isA`, `Changed`
