Skip to content

SkateboardController

Supported Class Other

Translates player input into throttle and steer axis values for a SkateboardPlatform.

Description

A SkateboardController is an object responsible for translating PlayerActions to movements with a SkateboardPlatform.

Inheritance

Object → Instance → Controller → SkateboardController

Nova inheritance: Instance → Controller → SkateboardController

Properties

Steer Supported Property 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.
Steer: float

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.

Roblox documentation

Throttle Supported Property 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 constan…
Throttle: float

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.

Roblox documentation

Events

AxisChanged Supported Event Fired when any input state of the skateboard controller is updated.
AxisChanged(string axis)

Fired when any input state of the skateboard controller is updated. The axis is fired with either "Throttle" if the throttle state of the skateboard was updated or "Steer" if the steering state of the skateboard was updated.

Roblox reference signature
AxisChanged(axis: string)

Roblox documentation

Inherited members

Inherited from Controller: 8 properties, 41 methods, 8 events. They are documented on the base class page.

Roblox reference: SkateboardController

Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.