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

Function

setMeshObjectScale

ClientGame engineTrilogy Hub only

Scales a model object: with one number or separately on three axes.

Syntax

bool setMeshObjectScale(meshobject meshObject, float sx [, float sy, float sz])

Arguments

meshObjectmeshobject
The object.
sxfloat
X scale (or the whole).
syfloat, optional
Y scale.
szfloat, optional
Z scale.

Returns

true on success.

Example

setMeshObjectScale(statue, 2)

See also