Background for Skyrim SE
Member of the ObjectReference script
floatfunctionGetPositionX()Native

Description

Wiki Description

Returns the current X position of the reference.

Documentation Comment

Get the current X position of the object


Caveats

CK Wiki - Notes

The object reference's X property also returns this value.


Examples

Debug.Trace("The box has an x position of: " + box.GetPositionX())
; using the hardcoded property as a shortcut to this function
Debug.Trace("The box has an x position of: " + box.X)

Auto-Generated Example

float returnedValue = myObjectReference__toCallFunctionOn.GetPositionX()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.