# Matter physics overlap method

**URL:** <https://phaser.discourse.group/t/matter-physics-overlap-method/6347>\
**Category:** Phaser 3\
**Created:** [May 16, 2020, 6:14am UTC](https://phaser.discourse.group/t/matter-physics-overlap-method/6347 "2020-05-16T06:14:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lee](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@lee](https://phaser.discourse.group/u/lee)\
**Post date:** [May 16, 2020, 6:14am UTC](https://phaser.discourse.group/t/matter-physics-overlap-method/6347/1 "2020-05-16T06:14:02Z")

</div>

I noticed in the documentation for Matter Physics there is an overlap function.  
[https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Matter.MatterPhysics.html#overlap\_\_anchor](https://photonstorm.github.io/phaser3-docs/Phaser.Physics.Matter.MatterPhysics.html#overlap__anchor)

however when I try:  
this.matter.overlap(shot, this.shieldBack)

I get `this.matter.overlap` is not a function. (within my scene object)

---

<div class="post-metadata">

**Author:** ![smjn](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/smjn/32/2087_2.png) [@smjn](https://phaser.discourse.group/u/smjn)\
**Post date:** [May 16, 2020, 7:54am UTC](https://phaser.discourse.group/t/matter-physics-overlap-method/6347/2 "2020-05-16T07:54:55Z")

</div>

Make sure you are running phaser 3.22 or later. It sounds as though you might run an older version.

---

<div class="post-metadata">

**Author:** ![lee](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@lee](https://phaser.discourse.group/u/lee)\
**Post date:** [May 16, 2020, 3:37pm UTC](https://phaser.discourse.group/t/matter-physics-overlap-method/6347/3 "2020-05-16T15:37:34Z")

</div>

Tried 3.21, 3.22 and 3.23

also `Phaser.Physics.Matter.MatterPhysics.overlap()`  
Still no luck

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [May 16, 2020, 6:04pm UTC](https://phaser.discourse.group/t/matter-physics-overlap-method/6347/4 "2020-05-16T18:04:09Z")

</div>

There is definitely `this.matter.overlap()` in Phaser v3.23.0.

---

<div class="post-metadata">

**Author:** ![lee](https://avatars.discourse-cdn.com/v4/letter/l/bc8723/32.png) [@lee](https://phaser.discourse.group/u/lee)\
**Post date:** [May 16, 2020, 11:02pm UTC](https://phaser.discourse.group/t/matter-physics-overlap-method/6347/5 "2020-05-16T23:02:39Z")

</div>

Ok, I tried 3.23 again and it’s working.  
I thought I flushed my browser cache, but I guess maybe it held on to 3.21.
