Distance_to_point - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}}

Notation

Description

Calculates the objects distance from it's coordinate to the given coordinate, and returns the value.

Parameters

  • x (x, y) coordinate
  • y

Return Values

Returns the distance from the objects position to the coordinate.

Example Call

Example of using the function.