Skip to content

landscape

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.

("landscape", (Z.Orientation) => void): this;

Emitted when the device is in the default landscape orientation.

this

When the landscape event is fired, attached handler functions are called with a single argument, a Z.Orientation value.

symbol.nodes.accelerometer.on("landscape", () => {
// Runs when landscape occurs on the accelerometer node
});