What do I do to make it when 5 sprites are overlapping this object it can be detected.
Develop games in your browser. Powerful, performant & highly capable.
If all the objects are from the same object type you need to use family.
Pick first the single object then test for overlaps.
Here is one example:
https://www.dropbox.com/s/c06qg1umxbsracv/Oberlapping.c3p?dl=0
Thanks so much it worked! I'm glad I know this exists now! It will be a good help for future games!