Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:2.06

Description

Description:Returns the scale of an object, as set by setScale.

Syntax

Syntax:getScale object
Parameters:
  • object: Object - Object to evaluate.
Return Value:Array - Object scale, as [width,height,length] (default: [1,1,1])
Be aware that in versions 2.0-2.11 the array returned the data in a different order: [width, length, height].

Examples

Examples:
_scale = getScale building1

Additional Information

See also: setScale
Multiplayer: 
Problems: 

Notes