ReferenceScript nodesRendering
Set Text
Changes the words a text layer shows, at once.
ƒSet TextTarget is Layer
TargetLayer
In TextHello
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
in | what happens next | – | – |
Targetlayer | layer | – | – |
In Textwords | text | "Hello" | – |
Outputs
| Pin | Type |
|---|---|
then | what happens next |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.text("", "Hello");In a graph
◆On Scene Start
ƒSet TextTarget is Layer
TargetLayer
In TextHello
The node with what starts it and Print to show what it gives, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.