Deletes a point from an existing path.


path_delete_point(ind, n);

Argument Description
index The index of the path to delete a point from.
n The defining point to delete.

Returns: N/A


With this function you can remove a point from the specified path. Path points are numbered from 0 so the first point is always the 0th point and the last path point will be path_get_number() - 1.


path_delete_point(mypath, path_number(mypath) - 1);

This would delete the last point on the path indexed in the variable "mypath".

Back: Changing Paths
Next: path_clear_points
© Copyright YoYo Games Ltd. 2018 All Rights Reserved