AFRAME.registerComponent('tutorial-2d', { play: function () { document.getElementById('tutorial2d').style.display = 'none'; } });