Back to Content

GamepadPose: hasPosition property

files/en-us/web/api/gamepadpose/hasposition/index.md

latest468 B
Original Source

{{APIRef("WebVR API")}}{{SeeCompatTable}}

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

Value

A boolean value.

Examples

TBD

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also