ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getMeshObjectScale

Function

getMeshObjectScale

ClientGame engineTrilogy Hub only

Returns a model object's scale on three axes.

Syntax

float, float, float getMeshObjectScale(meshobject meshObject)

Arguments

meshObjectmeshobject
The object.

Returns

sx, sy, sz.

Example

local sx, sy, sz = getMeshObjectScale(statue)

See also