Entity Picking in Vr

Hello,
Is there a way to pick 3D objects in VR?

The VR starter kit has code that shows how to cast a ray from the controller out into the world

From there, you will have to write the logic to pick up objects and ‘attach’ to your controller.

The WebXR VR Lab has an example of this WebXR VR Lab | Learn PlayCanvas

Thanks a Lot!