Paths

GameMaker Studio 2 has an extensive collection of functions and built-in variables for using paths within your game. This section deals with the basic ones that are used when dealing with paths that have previously been created in the Path Editor, but further functions exist that permit you to create your own paths using code, and to manipulate them in various ways.

The following basic functions exist that deal with paths:

The following variables are built-in to all instances when created and can be used to get information about a path, or to change certain properties:

Note that you can find further information on instance variables here: Instance Variables.

Further functions for paths can be found in the following two sections:

  1. Path Information
  2. Changing Paths


Back: GameMaker Studio 2 Language Reference
Next: Scripts
© Copyright YoYo Games Ltd. 2018 All Rights Reserved