overlap(object1, object2, overlapCallback, processCallback, callbackContext) → {boolean}
Checks for overlaps between two game objects. The objects can be Sprites, Groups or Emitters.You can perform Sprite vs. Sprite, Sprite vs. Group and Group vs. Group overlap checks.Unlike collide the objects are NOT automatically separated or have any physics applied, they merely test for overlap results.The second parameter can be an array of objects, of differing types.
Parameters
Name Type Argument Def