hide-on-enter-vr

Note: This documentation is for the old 1.6.0 version of A-Frame. Check out the documentation for the current 1.7.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