ReferenceScript nodesMath › Number
Absolute
The number without its sign.
ƒAbsolute
A-1Result
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Ax | number | -1 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | number |
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log((Math.abs((-1))));In a graph
◆On Scene Start
ƒAbsolute
A-1Result
ƒ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.