SetPosition - ObjectReference
Member of: ObjectReference Script
Sets the object's current position in the world.
SyntaxEdit
Function SetPosition(float afX, float afY, float afZ) nativeParametersEdit
- afX: Position along the X axis.
- afY: Position along the Y axis.
- afZ: Position along the Z axis.
Return ValueEdit
None.
ExamplesEdit
; Set the statue to be at the center of the world
StatueProperty.SetPosition(0.0, 0.0, 0.0)