ReferenceScript nodesUtilities › Text
Get Character as Number
The number of the letter at an index (65 for A); 0 for an index past either end.
ƒGet Character as Number
Source TextAResult
Index0
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Source Texttext | text | "A" | – |
Indexat | int | 0 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | int |
In a graph
◆On Scene Start
ƒGet Character as Number
Source TextAResult
Index0
ƒPrint
In Text
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.