Target what is overlapping in group

Does Phaser have a built in way for when a member of a group is overlapping with the player, that it can tell me specifically which child of the group is being overlapped? I have two objects, slime & slime2. I want to be able to differentiate which object I am overlapping with, and then execute the code within the brackets targeted at that object.

if(this.physics.world.overlap(this.player, this.slimeGroup, null, null, this))
        {
            this.slime.tween.pause();
            this.slime.anims.stop();
        }else{
            this.slime.tween.resume();
        }

One of the ways you can differentiate is to assign the slimes an ID and then if(slime.id === idyouwant)


this.physics.world.overlap(this.player, this.slimeGroup, (player, slime)=>{
         if(slime.id === this.slime.id){
             this.slime.tween.pause();
             this.slime.anims.stop();
       } else {
            this.slime.tween.resume();
       }
})

I notice you ask quite the lot of questions, join us here for instant chat!: https://discord.gg/phaser

Thanks for the reply jest! I ended up just putting the following inside of the slime class update method:

if(scene.physics.world.overlap(scene.player, this, null, null, scene))
        {
            this.tween.pause();
            this.anims.stop();
        }else{
            this.tween.resume();
        }

And thank you for the link! I will most definitely join!