Skip to content

1681-engine / index / intGridAt

Function: intGridAt() ​

ts
function intGridAt(
   grid, 
   cx, 
   cy
): number;

Defined in: src/tilemap/ldtk.ts:112

An IntGrid cell's value; 0 outside the grid.

Parameters ​

ParameterType
gridLdtkIntGrid
cxnumber
cynumber

Returns ​

number

Released under the MIT License.