-
Notifications
You must be signed in to change notification settings - Fork 0
KeyStringChannel
rech edited this page Jun 15, 2026
·
1 revision
Description
A string channel whose value is defined by keyframes.
Remarks
Created via StringChannel.create().
| Name | Type | Description |
|---|---|---|
keyCount |
number | The number of keys in this channel |
Description
Add a keyframe to this channel.
Parameters
| Name | Type | Description |
|---|---|---|
timing |
number | Timing of the key |
val |
string | String value of the key |
Return types
Remarks
_
Example
local ch = StringChannel.create()
ch.addKey(0, "Default")
ch.addKey(1000, "Overlay")Description
Remove the first key with the exact timing.
Parameters
| Name | Type | Description |
|---|---|---|
timing |
number | Timing of the key to remove |
Return types
Remarks
_
Example
ch.removeKeyAtTiming(1000)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