GamepadPose: hasPosition property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{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
- WebVR API
- Gamepad API