-
Notifications
You must be signed in to change notification settings - Fork 0
Event
rech edited this page Jun 15, 2026
·
1 revision
Description
Scenecontrol event passed to custom scenecontrol type callbacks.
Remarks
When defining a custom scenecontrol type via addScenecontrol, the callback receives an event object with the following properties:
| Name | Type | Description |
|---|---|---|
timing |
number | The timing of the scenecontrol event |
timingGroup |
number | The timing group of the scenecontrol event |
args |
Table | The arguments of the scenecontrol event (1-indexed) |
type |
string | The scenecontrol type name |
Example
addScenecontrol("myType", {"speed", "easing"}, function(cmd)
log(cmd.timing)
log(cmd.timingGroup)
log(cmd.args[1]) -- speed
log(cmd.args[2]) -- easing
log(cmd.type) -- "myType"
end)Global
- Global Functions
- Scene
- Channel
- StringChannel
- TextChannel
- Trigger
- TriggerChannel
- Context
- Event
- Convert
Channels
Controllers
- Controller
- CanvasController
- ImageController
- SpriteController
- TextController
- CameraController
- TrackController
- NoteGroupController
Internal Controllers
Data types