rojo/.cursor/rules/roblox/reference/engine/classes/SkateboardController.yaml
2026-02-02 12:08:47 -06:00

88 lines
2.5 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: SkateboardController
type: class
memory_category: Instances
summary: ''
description: |
A SkateboardController is an object responsible for translating PlayerActions
to movements with a `Class.SkateboardPlatform`.
code_samples: []
inherits:
- Controller
descendants: []
tags: []
deprecation_message: ''
properties:
- name: SkateboardController.Steer
summary: |
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.
description: |
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.
code_samples: []
type: float
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Axes
serialization:
can_load: false
can_save: false
capabilities:
- Basic
- name: SkateboardController.Throttle
summary: |
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.
description: |
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.
code_samples: []
type: float
tags:
- ReadOnly
- NotReplicated
deprecation_message: ''
security:
read: None
write: None
thread_safety: ReadSafe
category: Axes
serialization:
can_load: false
can_save: false
capabilities:
- Basic
methods: []
events:
- name: SkateboardController.AxisChanged
summary: |
Fired when any input state of the skateboard controller is updated.
description: |
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.
code_samples: []
parameters:
- name: axis
type: string
default:
summary: ''
tags: []
deprecation_message: ''
security: None
capabilities:
- Basic
callbacks: []