point_direction - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Calculates the direction from a given point to the second given point in degrees and returns the result.
- x1: (x1,y1) represent the first coordinate
- y1
- x2: (x2,y2) represent the second coordinate
- y2
double: Returns the angle in degrees.
// demonstrates getting the angle in degrees from one point to another
var ptdir;
ptdir = point_direction(0, 0, 5, 5);
NOTOC
Category:Function:Real