get weights
This block is part of the pathfinding group and was last modified in core v10.4.28.
get weights v10.4.28 In pins 6 + flow
- flow
flow - tiles required
arrayArray [{ state (String), x (Number), y (Number) }]
- width required
number - height required
number - path required
arrayArray [x_y (String), x_y (String)]
- finder
valueThe algorithm to use, currently supported are: AStarFinder, BestFirstFinder, BreadthFirstFinder, DijkstraFinder, IDAStarFinder, JumpPointFinder, OrthogonalJumpPointFinder, BiAStarFinder, BiBestFirstFinder, BiBreadthFirstFinder, BiDijkstraFinder
- finder options
object
Out pins 3 + flow
- flow
flow - success
condition - error
value - weights
array
A typical wiring for get weights: a function trigger starts the flow; with values feeds the tiles pin; number feeds the width pin; number feeds the height pin; with values feeds the path pin; the flow out pin feeds debug.

Version history
Introduced in v10.4.28.
Service documentation
External API reference This block wraps a third-party service. Click here for the service's own documentation of the underlying endpoint.Back to
pathfinding Return to the main group to view all sub-groups Back to pathfinding Return to the group to view all blocks within this group
