- Documentation
- Shared functions
- getElementBonePositionOffset
Function
getElementBonePositionOffset
Returns the offset of an element attached to a bone.
Syntax
float, float, float getElementBonePositionOffset(element theElement)Arguments
theElementelement- The element.
Returns
x, y, z, or false if the element is not attached to a bone.
Example
local x, y, z = getElementBonePositionOffset(box)