$.math.distance( xStart, yStart, xEnd, yEnd)

Calculates distance between two points

  • xStart : number //
  • yStart : number //
  • xEnd : number //
  • yEnd : number //

Examples