Determining if an ObjectAnchor is currently observed

I'm writing code using ObjectAnchor for Vision OS. If an object is tracked, and then becomes not visible (either because the user looked in a different direction, or because the tracked object was occluded by another object), it is still tracked and you get anchor updates (e.g., object permanence).

For my application, it would be very helpful if I could determine if the object is currently being observed, or it is not currently observed and just assumed to be in the same location as seen previously.

ObjectAnchor.isTracked just seems to indicate whether it is getting anchor updates. I don't see anything in the ObjectAnchor or AnchorUpdate that would allow me to determine if the object is currently observed. Does anyone know of a way to do this, or would this be a feature request?

Hi @William Pugh,

It sounds like you're asking to know when the user is looking at an object. If that's the case, please file an Enhancement Request at https://feedbackassistant.apple.com. Right now, we're not exposing that information in the case of user privacy, but always looking for use cases for new APIs. If you do file one, please paste the FB number here. Thank you!

Determining if an ObjectAnchor is currently observed
 
 
Q