How to detect the collision of fire with the mosaic?

To the fire as to the platform I add the collider property but when the fire touches the mosaic it does not detect the collision, how can I detect or berify the collision of the fire with the mosaic?

if it can be it is code please. code here: bomberman - CodeSandbox

The pattern for this is

  function collide(sprite, tile) {
    // sprite overlapped a colliding tile …
  function process(sprite, tile) {
    return tile.collides;
1 Like