Hi, is possible to assign some cost to specific grid runtime?
Yes, that is possible. See https://arongranberg.com/astar/docs/graph-updates.php