Hey Peter,
If you’re just trying to disable collision with your Player object, you can do so by setting Game.player.body.enable = false.
Or if you would like to disable the colliders in a group you can do so like: let children = layer.children.entries; for (let i = 0; i < children.length; i++) { children[i].body.enable = false; }
ok, my only problem is to access this layer from UPDATE file and change this property
How can I access layers to have setCollisionByProperty available?