landscapeinverted

Studio

landscapeinverted

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

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

Returns

this

Handler Function

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

Example

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

});
Open in new window