How to determine distance between client and authority?

Im building a multiplayer racing game and im trying to figure out the distance between the 2 players spawned in order to determine who is 1 st and who is 2nd.

Get the Actor Location of each. Subtract one of them from the other, then get the length of the vector.

In Blueprints there is a Distance Node which does this for you. Doc link