path_end

Ends the path the calling instance is currently following.

Syntax:

path_end();


Returns: N/A.


Description

Calling this function will end the current path that the instance is following.


Example:

if place_meeting(x, y, all) path_end()

The above code will end the current path if the instance detects any collision with any other instance.


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