i'm looking for the same function,
i would like to know how to get the same interaction you can experience in the Oculus Quest2 home page, where you can place with thumbstick the UI panels close or far from your view, there is also a little UI showing the distance in meters
Thanks in advance
we use unity3D