Phaser API Documentation

  Version: 
getBottom([camera])

Description:

Gets the world Y position of the bottom side of the tile, factoring in the layer's position, scale and scroll.

Parameters:

name type arguments description
camera Phaser.Cameras.Scene2D.Camera <optional>

The Camera to use to perform the check.

Returns:
Description:

The bottom (y) value of this tile.

Type:
  • number
Since: 3.0.0
Source: src/tilemaps/Tile.js (Line 451)