Text
Information on designing and animating Text
Read/Update Text Runs at Runtime
If you intend to update a text run at runtime it’s important to manually enter a unique name for the run in the editor: And then export the name: right-click and select Export name You can identify an exported component if it’s surrounded by square brackets. This makes it possible for the run to be “discoverable” at runtime by its name. For more information, see Exporting for Runtime.Text runs can also be updated on components at runtime, see Read/Update
Nested Text Runs at Runtime below.
Artboard instance.
Get/Set Text Run Value
Read/Update Nested Text Runs at Runtime
It’s possible to set nested text runs at runtime—text that is not on the main artboard but on a Component. To set a nested text run, you’ll need to take note of the path where the input exists at an artboard level. For example, to get/set the text run named button_text on the Button artboard, you need to provide the correct path. Setting Nested Text Runs The artboard names here are:- Main -> NestedArtboard -> Button
- ArtboardWithUniqueName -> ButtonWithUniqueName
ArtboardWithUniqueName/ButtonWithUniqueName
Examples
Get/set a nested text run value on anArtboard instance.
Get/Set Text Run Value
Export
component name