檢索實體

我們可以使用 DOM API 簡單地檢索實體。

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