What it does
Vector3Z takes vectorID (an integer), and answers a float. vectorID is the id of a Vector object, obtained elsewhere in the Maths family.
Syntax
Vector3Z(vectorID integer) → floatParameters
| Name | Type |
|---|---|
| vectorID | integer |
Every form returns
float
Example · generated
vector = CreateVector3()DO Print(Vector3Z(vector)) Sync()LOOPCreateVector3 is there to give the call something to act on; Vector3Z is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.