Can I apply Vision Pro to get the direction in which I am looking?

Can I apply Vision Pro to get the direction in which I am looking? The following document shows that visionOS is not supported, so it seems impossible... https://developer.apple.com/documentation/coremotion/cmdevicemotion/2890756-heading

I am attempting to create a simple compass for Apple Vision Pro. The method I am familiar with involves using:

locationManager.startUpdatingHeading()
locationManager(_ manager: CLLocationManager, didUpdateHeading newHeading: CLHeading)

However, this does not function on visionOS as 'CLHeading is unavailable in visionOS'.

Is there any way to develop this simple compass on visionOS?

Can I apply Vision Pro to get the direction in which I am looking?
 
 
Q