检索实体

我们可以使用 DOM API 简单地检索实体。

<a-entity id="mario"></a-entity>
var el = document.querySelector('#mario');