a*
This block is part of the a* path finding group and was last modified in core v10.4.28.
a* v10.4.28 Finds a path within a given grid.
In pins 7 + flow
- flow
flow - start at required
arrayArray [x (Number), y (Number)]
- stop at required
arrayArray [x (Number), y (Number)]
- grid width required
number - grid height required
number - tiles required
arrayArray Matrix or Array of States
- allow diagonal
conditionDefault: false
- cross corners
conditionDefault: false
Out pins 3 + flow
- flow
flow - path Matrix
array - path Readable
array - cost
number
A typical wiring for a*: a function trigger starts the flow; with values feeds the start pin; with values feeds the end pin; number feeds the width pin; number feeds the height pin; with values feeds the tiles pin; the flow out pin feeds debug.

Version history
Introduced in v10.4.28.
Back to
a* path finding Return to the main group to view all sub-groups Back to pathfinding Return to the group to view all blocks within this group
