Set a path for the instance

This action's popup.

With Set a path for the instance you can specify that the instance should follow a particular path. You define the path that must be followed and the speed in pixels per step. When the speed is positive the instance starts at the beginning of the path. If it is negative it starts at the end. Next you specify the end behavior, that is, what should happen when the end of the path is reached. You can choose to stop the motion, restart from the beginning, restart from the current position (which is the same when the path is closed), or reverse the motion. Finally you can indicate that the path must be seen as absolute, that is, the position will be as indicated in the path (this is useful when you have designed the path at a particular place in the room) or relative, in which case the start point of the path is placed at the current location of the instance (end point when speed is negative).

== See Also ==

This functionality is only available in the advanced mode of Game Maker.

Community content is available under CC-BY-SA unless otherwise noted.