Skip to content

volume( )

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.

volume() : number[];

The current volume, in the following format:

[l, r]

Where l and r are numbers between 0 and 1 and represent the left and right audio channels respectively.

Default value: [1, 1]