Skip to content

scale( )

Studio is being deprecated, please head over to the documentation page for Mattercraft, our most advanced 3D tool for the web, where you can find the most recent information and tutorials.

scale() : number[];

Gets the current scale value of the node, in the form [x, y, z].

Default value: [1, 1, 1]

The scale of the node.

var s = myobject.scale();
// s is [1, 1, 1]