Get all gameobject

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.

1 Like

Thx Telinc1 ! :slight_smile: