|index||The index of the path to check.|
This function returns with what precision the given path has
been "smoothed", and will be an integer value from 1 to 8. Although
you can get (and set) this value for a straight-line path it will
have no influence over how an instance uses the path as it is only
relevant when the path kind is set to "smooth".
if path_get_precision(mypath) !=8 path_set_precision(mypath, 8);
The above code checks the path indexed in "mypath" to see what kind it is and if it is smooth, it then checks how precise the smoothing is. If it is less than 8, it is then set to a value of 8.