ReferenceScripting APIVector3withZ
Vector3.withZ
methodThe same with another z.
| Name | withZ |
|---|---|
| Kind | method of Vector3 |
| Called as | vector3.withZ(…) |
| Since | 0.3 |
Syntax
withZ(z: number): Vector3Parameters
| Name | Type | Description |
|---|---|---|
z | number | The z |
Returns
Vector3: the vector.
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.