Phaser API Documentation

  Version: 
<static> ProcessTileCallbacks(tile, sprite)

Description:

A function to process the collision callbacks between a single tile and an Arcade Physics enabled Game Object.

Parameters:

name type description
tile Phaser.Tilemaps.Tile

The Tile to process.

sprite Phaser.GameObjects.Sprite

The Game Object to process with the Tile.

Returns:
Description:

The result of the callback, true for further processing, or false to skip this pair.

Type:
  • boolean
Examples: