Skip to content

position(...)

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.

position(val : number[]) : this;

Sets the position of the node.

ParameterTypeDescription
valnumber[]The value to set the position to, in the following form: [x, y, z].

this

myobject.position([1, 0, 0]);