Mod:Creation Kit/SetPosition - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

Sets the object's current position in the world.

Syntax
Function SetPosition(float afX, float afY, float afZ) native

Parameters

 * afX: Position along the X axis.
 * afY: Position along the Y axis.
 * afZ: Position along the Z axis.

Return Value
None.

Examples
StatueProperty.SetPosition(0.0, 0.0, 0.0)
 * Set the statue to be at the center of the world