1681-engine / index / tileRect
Function: tileRect() ​
ts
function tileRect(ts, local): object;Defined in: src/tilemap/tiled.ts:103
Where tile local sits in its tileset image.
Parameters ​
| Parameter | Type |
|---|---|
ts | Tileset |
local | number |
Returns ​
object
h ​
ts
h: number;w ​
ts
w: number;x ​
ts
x: number;y ​
ts
y: number;