Function cellAtPoint

Returns the cell at a specified visual coordinate or undefined if the position is outside of the grid.

position must be in same coordinate/scale as the grid.

  • Parameters

    Returns undefined | Cell

    Cell at position or undefined if outside of the grid