Eye tracking (eye gaze) in VR fully immersive apps

In this passage(https://developer.apple.com/design/human-interface-guidelines/eyes), When people look at an interactive object, visionOS highlights it, providing visual feedback that helps them confirm the object is one they want. The visual feedback, or hover effect, shows people that they can use an indirect gesture like tap to interact with the object. But, The following Important tip says,To help preserve people’s privacy, visionOS doesn’t provide direct information about where people are looking before they tap. When you use system-provided components, visionOS automatically tells you when people tap the component. How to I did the visual feedback or hover effect In VR fully immersive apps? What is its principle?

Eye tracking (eye gaze) in VR fully immersive apps
 
 
Q