GamepadPose.hasOrientation

Experimental

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The hasOrientation read-only property of the GamepadPose interface returns a boolean value stating whether the Gamepad can track and return orientation information.

Syntax

var hasItGotOrientation = gamepadPoseInstance.hasOrientation;

Value

A boolean value.

Examples

TBD

Specifications

Specification
Gamepad Extensions
# dom-gamepadpose-hasorientation

Browser compatibility

BCD tables only load in the browser

See also