# SkateboardPlatform

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

- Inherits from, nearest first: [Part](https://rapi.sleaze.dev/classes/Part.md), [FormFactorPart](https://rapi.sleaze.dev/classes/FormFactorPart.md), [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)
- Tags: Deprecated
- Memory category: BaseParts
- HTML page: https://rapi.sleaze.dev/classes/SkateboardPlatform/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/classes/SkateboardPlatform

**Deprecated:** The SkateboardPlatform object has been deprecated and is no longer supported by Roblox. Developers looking to create skateboards or similar vehicles are advised to program their own systems. Additionally, the [`VehicleSeat`](https://rapi.sleaze.dev/classes/VehicleSeat.md) object can be used to quickly create simple vehicles.

A SkateboardPlatform can be used to create a skateboard. When characters get on a skateboard, they are stuck to it until they press the escape key. Until then, the character uses skateboard animations and travels faster than a walking character.

## Properties

### Controller

```luau
SkateboardPlatform.Controller: SkateboardController
```

- Tags: Read only, Read capabilities: Basic

The SkateboardPlatform's active SkateboardController.

### ControllingHumanoid

```luau
SkateboardPlatform.ControllingHumanoid: Humanoid
```

- Tags: Read only, Read capabilities: Basic

The [`Humanoid`](https://rapi.sleaze.dev/classes/Humanoid.md) that is controlling the SkateboardPlatform.

### MoveState

```luau
SkateboardPlatform.MoveState: Enum.MoveState = Enum.MoveState.Stopped
```

- Tags: Hidden, Not scriptable, Read capabilities: Basic

### Steer

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

- Tags: Read capabilities: Basic

The direction of movement, tied to the keys A and D. Must be 1 (right), 0 (straight), or -1 (left). Will refresh back to 0 unless constantly set.

### StickyWheels

```luau
SkateboardPlatform.StickyWheels: boolean = true
```

- Tags: Read capabilities: Basic

If true, wheels won't roll without user input.

### Throttle

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

- Tags: Read capabilities: Basic

The direction of movement, tied to the keys W and S. Must be an integer 1 (forward), 0 (null), or -1 (reverse). Will refresh back to 0 unless constantly set.

## Methods

### ApplySpecificImpulse

```luau
SkateboardPlatform:ApplySpecificImpulse(impulseWorld: Vector3)
```

- Tags: Capabilities: Basic

Adds ''impulseWorld'' to the SkateboardPlatform's [`BasePart.Velocity`](https://rapi.sleaze.dev/classes/BasePart.md).

## Events

### Equipped

```luau
SkateboardPlatform.Equipped: RBXScriptSignal<(humanoid: Instance, skateboardController: Instance)>
```

- Tags: Capabilities: Basic

Fired when the skateboard is equipped.

### MoveStateChanged

```luau
SkateboardPlatform.MoveStateChanged: RBXScriptSignal<(newState: Enum.MoveState, oldState: Enum.MoveState)>
```

- Tags: Capabilities: Basic

Fired when the SkateboardPlatform's [`SkateboardPlatform.ControllingHumanoid`](https://rapi.sleaze.dev/classes/SkateboardPlatform.md) changes the force being used on the SkateboardPlatform.

### RemoteCreateMotor6D

```luau
SkateboardPlatform.RemoteCreateMotor6D: RBXScriptSignal<(humanoid: Instance)>
```

- Tags: Hidden, Capabilities: Basic

### RemoteDestroyMotor6D

```luau
SkateboardPlatform.RemoteDestroyMotor6D: RBXScriptSignal<()>
```

- Tags: Hidden, Capabilities: Basic

### Unequipped

```luau
SkateboardPlatform.Unequipped: RBXScriptSignal<(humanoid: Instance)>
```

- Tags: Capabilities: Basic

Fired whenever the skateboard is unequipped.

### equipped

```luau
SkateboardPlatform.equipped: RBXScriptSignal<(humanoid: Instance, skateboardController: Instance)>
```

- Tags: Deprecated, Capabilities: Basic
- Use instead: [`SkateboardPlatform.Equipped`](https://rapi.sleaze.dev/classes/SkateboardPlatform.md)

**Deprecated:** This deprecated event is a variant of [`SkateboardPlatform.Equipped`](https://rapi.sleaze.dev/classes/SkateboardPlatform.md) which has also been deprecated. Neither event should be used in new work.

### unequipped

```luau
SkateboardPlatform.unequipped: RBXScriptSignal<(humanoid: Instance)>
```

- Tags: Deprecated, Capabilities: Basic
- Use instead: [`SkateboardPlatform.Unequipped`](https://rapi.sleaze.dev/classes/SkateboardPlatform.md)

**Deprecated:** This deprecated event is a variant of [`SkateboardPlatform.Unequipped`](https://rapi.sleaze.dev/classes/SkateboardPlatform.md) which has also been deprecated. Neither event should be used in new work.

## Inherited members

- From [Part](https://rapi.sleaze.dev/classes/Part.md): `Shape`, `shap`, `shape`
- From [FormFactorPart](https://rapi.sleaze.dev/classes/FormFactorPart.md): `formFactorRaw`, `FormFactor`, `formFactor`
- 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`
