ecspresso
    Preparing search index...
    • Compute a path through grid from start to goal.

      Returns a list of cell indices starting with start and ending at a cell within goalTolerance of goal, or null if no such path exists within maxNodesExpanded expansions.

      start is always treated as passable (even if its grid cell is 0 or the cell is in blockedCells) — actors physics-pushed onto a wall still get a valid origin.

      Parameters

      Returns number[] | null