--- title: VRDisplayCapabilities.hasPosition slug: Web/API/VRDisplayCapabilities/hasPosition tags: - Виртуальная реальность translation_of: Web/API/VRDisplayCapabilities/hasPosition ---
{{APIRef("WebVR API")}}{{SeeCompatTable}}

The hasPosition read-only property of the {{domxref("VRDisplayCapabilities")}} interface returns a {{domxref("Boolean")}} stating whether the VR display can track and return position information.

Синтаксис

var hasItGotPosition = vrDisplayCapabilitiesInstance.hasPosition;

Value

A {{domxref("Boolean")}}.

Примеры

{{page("/Web/API/VRDisplayCapabilities", "Examples")}}

Спецификации

{{Specifications}}

Browser compatibility

{{Compat}}

See also