I have created a dynamic group in phaser 3 using let group = this.physics.add.group()
. However, I have tried group.x,group.x
to try and get the x and y coordinate of the group, but the result seems to be undefined
.
I want to find a way to find the x coordinate and the y coordinate of the group, but I haven’t found anything. The way I have created the group is let group = this.physics.add.group()
.