# export the data

**URL:** <https://forum.magicleap.cloud/t/export-the-data/5498>\
**Category:** General\
**Created:** [April 9, 2025, 5:38pm UTC](https://forum.magicleap.cloud/t/export-the-data/5498 "2025-04-09T17:38:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![JingXiang](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@JingXiang](https://forum.magicleap.cloud/u/JingXiang)\
**Post date:** [April 9, 2025, 5:38pm UTC](https://forum.magicleap.cloud/t/export-the-data/5498/1 "2025-04-09T17:38:50Z")

</div>

We are building a platform for medical education that integrates AR and eye tracking for a medical simulation procedure. We are very interested in incorporating Magic Leap 2 to our setting. I am wondering if it is possible to record operator’s eye gaze/ pupil dilation through Magic Leap 2. For example, will we be able to export pupil dilation and gaze information of users after the procedure to study pupil dilation and area of interest?

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [April 9, 2025, 5:56pm UTC](https://forum.magicleap.cloud/t/export-the-data/5498/2 "2025-04-09T17:56:25Z")

</div>

Developers can access eye tracking data at runtime using the ML Eye Tracker Open XR extension which can be used in OpenXR and in Unity.

> **[XR\_ML\_eye\_tracker | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/openxr/experimental-extensions/XR_ML_eye_tracker/)**
>
> This API is still an experimental extension not included in the official OpenXR registry and is subject to change.

> **[Eye Tracker | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/unity-openxr/eye-tracker/eye-tracker-overview/)**
>
> The Magic Leap OpenXR Eye Tracker Feature provides developers with the ability to access and utilize the Magic Leap device's eye-tracking capabilities. This includes tracking gaze direction, pupil size, eye openness, and other eye-related data. This...

However, you would need to develop your own application to save this data.
