---
title: GamepadPose.hasOrientation
slug: Web/API/GamepadPose/hasOrientation
tags:
  - API
  - Experimental
  - Gamepad API
  - GamepadPose
  - Property
  - Reference
  - Virtual Reality
  - WebVR
  - hasOrientation
browser-compat: api.GamepadPose.hasOrientation
---
{{APIRef("WebVR API")}}{{SeeCompatTable}}

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

## Syntax

```js
var hasItGotOrientation = gamepadPoseInstance.hasOrientation;
```

### Value

A boolean value.

## Examples

TBD

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [WebVR API](/en-US/docs/Web/API/WebVR_API)
- [Gamepad API](/en-US/docs/Web/API/Gamepad_API)
