Hello,
Just a question, it’s possible to get all gameobject of a scene without using groups ?
Like this : scene.gameobject.getAll();
i haven’t found anything…
Hello,
Just a question, it’s possible to get all gameobject of a scene without using groups ?
Like this : scene.gameobject.getAll();
i haven’t found anything…
(scene).children.list
or (scene).sys.displayList.list
will give you all of the objects that are being rendered. Phaser doesn’t keep track of objects that have only been constructed.
Thx Telinc1 !