ReferenceScript nodesMath › Vector 3
Unit Direction
The direction from From to To, one long (0 when they're in the same place).
ƒUnit Direction
Inputs
None.
Outputs
None.
The code it becomes
The graph below written as a script would write it.
// On Scene Startscene.log("Hello");In a graph
◆On Scene Start
ƒUnit Direction
ƒPrint
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.