GamepadPose.hasPosition

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 stating whether the Gamepad can track and return position information.

Syntax

var hasItGotPosition = gamepadPoseInstance.hasPosition;

Value

A Boolean.

Examples

TBD

Specifications

Specification
Gamepad Extensions
# dom-gamepadpose-hasposition

Browser compatibility

BCD tables only load in the browser

See also