layer : Object The layer in the Tilemap data that this tile belongs to. Source
[readonly] right : number The sum of the x and width properties.
new Tile(layer, index, x, y, width, height) A Tile is a representation of a single tile within the Tilemap. Parameters
[readonly] top : number The y value. Source
centerY Properties: Name Type Description
worldX Properties: Name Type Description
faceRight : boolean Is the right of this tile an interesting edge? Source
height : number The height of the tile in pixels. Source code:
collisionCallbackContext : Object The context in which the collision callback will be called.
index : number The index of this tile within the map data corresponding to the tileset, or -1 if this represents a blank/null tile
Page 4 of 4