How to detect when a marker is found in AR.js
问题 I'm trying to detect when a marker if found/lost in ar.js, while using a-frame. From what I see in the source code, when the marker is found, a 'getMarker' event should be fired, moreover artoolkit seems to dispatch a markerFound event. I tried to listen to those events on the <a-scene> , or on the <a-marker> , but it seems I'm either mistaken, or i need to get deeper to the arController , or arToolkit objects. When i log the scene, or the marker, i only get references to the attributes,