DistX is the difference on the X axis between the two points, DistY is the same thing except on the Y axis, and DistDiagonally is the true distance.