tilelayer: members
9 implemented, 0 reserved. Entries are sorted by name.
Implemented
Section titled “Implemented”gettileanimation
Section titled “gettileanimation”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.
gettileflags
Section titled “gettileflags”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.
gettileframe
Section titled “gettileframe”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.
gettileimagemap
Section titled “gettileimagemap”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.
layerfile
Section titled “layerfile”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.
tilecountx
Section titled “tilecountx”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.
tilecounty
Section titled “tilecounty”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.
tilesizex
Section titled “tilesizex”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.
tilesizey
Section titled “tilesizey”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.