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 Status Comment
Gamepad Extensions
The definition of 'hasPosition' in that specification.
Editor's Draft Initial definition

Browser compatibility

BCD tables only load in the browser

See also