Pathfinding / movement cost

Hi and nice forum you got here :slight_smile:

Anyone know example how to implement some pathfinding algorithm (A*, breath first) with movement points? I mean that for example, character has 4 movement points so he can move 4 tiles. So pathfinding algorithm should search and display all paths within 4 tiles, but i don’t know how to implement it :ne: