collide

Returns true if layersA with maskA and layersB with maskB collide, as described on PhysicsLayers.