A path is a line of points instances can follow with path_start(path, speed, end_action, absolute). Open a path from the sidebar (or make one: Create > Path…, ⌃⌥⇧⌘0).
- Click the canvas to add a point after the selected one; ⌥-click a line to put a point into it; drag a point to move it; right-click or ⌫ deletes it. The first point is green.
- The list on the right has every point's x, y and speed (percent of the speed
path_startgives; 100 is that speed); type a number to change it. - Straight or Smooth (⌥⌘1, ⌥⌘2), Closed (⌥⌘L) and Precision (1 to 8: how finely a smooth path is cut into lines). The orange line is the one instances follow, worked out as GameMaker's runner does; the dotted line joins the points of a smooth path.
- Snap puts points on the grid (G); the grid's width and height are beside it.
- Room: pick a room to draw behind the path, to place points on its platforms.
- Zoom with = and -, ⌘-scroll or a pinch; 0 fits the path and room in view. Scroll (or ⌘-drag) to pan.
- Whole path: Reverse (⌥⌘R), Flip upside down (⌥⌘F), Mirror left to right (⌥⌘M), Centre in the room (⌥⌘C) and Shift by x and y. Arrow keys nudge the selected point (⇧: a grid step); ⌥ and an arrow shift the whole path by a grid step.
The inspector shows the path's settings, its length and the selected point. Every change is written in GameMaker's path format and is one step of Edit > Undo.
Related topics
Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.