This isn't even really a question for Roblox itself, since it has it's own pathfinding, but how do I calculate heuristics for Manhattan/Euclidiean distance for A*. I'm pretty sure euclidian is like square root of (a-c) + (b-d), and Manhattan is like (a-c) + (b-d).
Is this correct?

2 comments
I see, so I just put in 2 parts positions, and it will return the heuristic. Is this correct?
yes