Skip to content

tilelayer: members

9 implemented, 0 reserved. Entries are sorted by name.

tilelayer.gettileanimation(x: number, y: number) -> string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The animation of a cell.

temp.v = layer.gettileanimation(0, 0);

Specification: client-rendering.md§6.7.

tilelayer.gettileflags(x: number, y: number) -> string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The flags of a cell, from collision, fliphorizontal and flipvertical, separated by commas.

temp.v = layer.gettileflags(0, 0);

Specification: client-rendering.md§6.7.

tilelayer.gettileframe(x: number, y: number) -> number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The frame of a cell.

temp.v = layer.gettileframe(0, 0);

Specification: client-rendering.md§6.7.

tilelayer.gettileimagemap(x: number, y: number) -> string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The image map of a cell.

temp.v = layer.gettileimagemap(0, 0);

Specification: client-rendering.md§6.7.

tilelayer.layerfile: string

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

The file the cells of the layer were read from.

temp.v = map.layers[0].objects[0].layerfile;

Specification: client-rendering.md§6.7.

tilelayer.tilecountx: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Number of cell columns.

temp.v = map.layers[0].objects[0].tilecountx;

Specification: client-rendering.md§6.7.

tilelayer.tilecounty: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Number of cell rows.

temp.v = map.layers[0].objects[0].tilecounty;

Specification: client-rendering.md§6.7.

tilelayer.tilesizex: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Width of a cell in tiles.

temp.v = map.layers[0].objects[0].tilesizex;

Specification: client-rendering.md§6.7.

tilelayer.tilesizey: number

Runs on: client only. Origin: compatibility. Since: M14. Playground: no.

Height of a cell in tiles.

temp.v = map.layers[0].objects[0].tilesizey;

Specification: client-rendering.md§6.7.

Engine version 0.1.0. Built 2026-11-18.