---
title: XRFrame.session
slug: Web/API/XRFrame/session
tags:
  - API
  - AR
  - Augmented Reality
  - Property
  - Reference
  - Session
  - VR
  - Virtual Reality
  - WebXR
  - WebXR Device API
  - XR
  - XRFrame
browser-compat: api.XRFrame.session
---
{{APIRef("WebXR Device API")}}

An `XRFrame` object's *read-only* **`session`** property returns the {{domxref("XRSession")}} object that generated the frame.

## Value

A {{domxref("XRSession")}} object representing the WebXR session for which
this `XRFrame` describes the object positions and orientations.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}
