I currently turn off this.el.sceneEl.addEventListener(‘xrprojectwayspotlost’, lostLocation) function, so it will always exist after the object is displayed. I want to turn off the UI with the red frame in the picture after the user opens the display object, but I don’t see any adjustments place
Yes, this is the VPS coaching overlay, which automatically shows or hides based on location found/lost events. It looks like you’ve removed the lost event to keep the content persistent, and now you want to remove the coaching overlay after the initial placement as well.
You can do this by setting the disable-prompt schema attribute to true in the found event handler like this:
this.el.sceneEl.setAttribute('vps-coaching-overlay', 'disable-prompt: true')
2 Likes
@GeorgeButler Thank you for your reply,this solved my problem
This topic was automatically closed 4 days after the last reply. New replies are no longer allowed.