I have a bunch of triggers on my scene that I need to disable while an audio file is playing.
So the audio file is the first thing playing when opening the scene. During this time I want all the triggers disable so that the user cannot interact with them during the audio time.
Is there a way to disable all of them?
A-Frame master build has
raycaster.enabled property. So you can
setAttribute('raycaster', 'enabled', false) temporarily.
You can also run
.pause() on components if they implement that handler correctly. If you want to disable triggerdown on vive-controls for example: