Skip to content

portraitinverted

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.

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

Emitted when the device is in an inverted portrait orientation, 180 degrees from portrait.

this

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

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