Why hit-test in this sample feature in WebXR can detect virtual object?

In this sample

I could not understand why hit-test can detect virtual plane made by plane-detection. Usually hit-test could not detect virtual objects like box made by meshbuilder in my code. Why this sample’s hit-test can detect virtual plane? Virtual obejct made by plae-detection can be detected by hit-test?

cc @RaananW

Hit-testing doesn’t detect virtual objects. virtual objects are placed in the areas that are detected by the underlying system, so it will report the same location for the place and the hit-test.