Device Orientation
This node is deprecated and kept only so existing projects keep working. It is not offered in the node picker for new use.
Deprecated device-orientation sensor exposing rotation X/Y/Z. No direct successor; use a Function node over the DeviceOrientation API.
The legacy Device Orientation node streams the device's rotation on three number outputs. It is deprecated and hidden from the picker; modern browsers gate the underlying API behind permission prompts the node predates.
When to use it
Do not use in new graphs — read the DeviceOrientation API from a Function node, handling the permission request explicitly.
At a glance
| Category | Sensors |
| Type name | Gyroscope |
| Available in | browser |
| SSR compatibility | client-only — Device sensors only exist in the browser. |
| Provided by | noodl-viewer-react |
| Behaviour spec | not written yet |
Outputs
Values
| Name | Type | Default | Description |
|---|---|---|---|
rotationX | Number | — | Front-to-back tilt in degrees; it never updates on iOS, which requires a permission this node does not request |
rotationY | Number | — | Left-to-right tilt in degrees; it never updates on iOS, which requires a permission this node does not request |
rotationZ | Number | — | Compass heading in degrees; it never updates on iOS, which requires a permission this node does not request |
Related nodes
Code export
Does not export to React yet. A project that uses it exports with this node named in the export report.
Why: deliberately out of scope — the type is deprecated in the catalog, so nobody building today is offered one. A project that still holds one exports it as a named deferral, which is the right answer for a node its own editor has retired.
How export works shows what an export writes, with a worked example.
This page is generated from node-catalog-enriched.json, the node's spec in packages/nodegx-node-spec and the export ledger. Do not edit it by hand — run npm run docs:nodes to regenerate, and fix the source instead.