Overlapping

hi guys, how do i get the overlap to return the overlapping objects?

Hi,

this.physics.add.overlap(spriteA, spriteB, (spriteA, spriteB) => {
      console.log(spriteA, spriteB);
    }, undefined, this);