ReferenceScripting APIMotionScenetext
MotionScene.text
methodChanges what a Text layer says.
| Name | text |
|---|---|
| Kind | method of MotionScene |
| Called as | scene.text(…) |
| As a node | Set Text (logic graph) |
| Since | 0.3 |
Syntax
text( layer: string, words: string): voidParameters
| Name | Type | Description |
|---|---|---|
layer | string | A Text layer's name or id |
words | string | What it says |
Returns
Nothing.
Example
scene.text("Title", "Good morning");See also
In examples: Constellations
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.