Hi,
This is my first post and I hope I can help and be helped in this forum. 
i am develop my first game in phaser 3. its a RPG.
My question is: Its posible get random zone (X,Y) and check if is collider zone?
I am creating the enemies with random spawn position.
Thansk for all.
hcakar
2
samme
3
@hcakar This is not my case, i have objects inside in the rectangle with collisions
@samme iโm trying your advice but this function returned me TRUE all time.
this.enemy = this.scene.physics.add.sprite(this.x, this.y, โenemyโ);
console.log(this.enemy.body.hitTest(this.x,this.y)); // true