Vector2()DistanceOn this pageVector2.Distance(Vector2 a, Vector2 b) Returns the distance between a and b. Parameters: NameTypeDescriptionaVector2abVector2b Returns: typeDescriptionnumberdistance between a and b. Usage ---@type Vector2local a;---@type Vector2local b;local val0 = Vector2:Distance(a, b)