GamepadPose: hasPosition property

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

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

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

Value

A boolean value.

Examples

TBD

Specifications

Specification
Gamepad Extensions
# dom-gamepadpose-hasposition

Browser compatibility

BCD tables only load in the browser

See also