ReferenceScript nodesUtilities › Text
Text to Integer
The whole number at the start of the text (spaces before it and a sign allowed; it stops at anything else), 0 when there isn't one.
ƒText to Integer
In Text12Result
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
In Texttext | text | "12" | – |
Outputs
| Pin | Type |
|---|---|
Resultout | int |
In a graph
◆On Scene Start
ƒText to Integer
In Text12Result
ƒ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.