Sticky Horizontal AnchorEntity

Hi, I'm trying to use AnchorEntity for horizontal surfaces.

It works when the entity is being created, but I'm looking for a way to snap this entity to the nearest surface, after translating it, for example with a DragGesture.

What would be the best way to achieve this? Using raycast, creating a new anchor, trackingMode to continuous etc.

Do I need to use ARKitSession as I want continuous tracking?

Sticky Horizontal AnchorEntity
 
 
Q