- Documentation
- Shared functions
- getObjectScale
Function
getObjectScale
Returns an object's scale on three axes (1, 1, 1 by default).
Syntax
float, float, float getObjectScale(object theObject)Arguments
theObjectobject- The object.
Returns
sx, sy, sz.
Example
local obj = createObject(1337, 0, 0, 3)
local sx = getObjectScale(obj)