hide-on-enter-vr

NOTE: This version of the documentation tracks unstable development happening on A-Frame’s master branch. If you wish to try it out, grab the unstable build. Otherwise, head to the documentation for the current 1.6.0 version

When the user enters VR this component will hide the entity by toggling it’s visible state.

Depending on the immersive mode: VR or AR one might want to show / hide different entities.

Example

<a-entity hide-on-enter-vr></a-entity>

Properties

None

Events

None