export the data

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?

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.

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