Game Maker
Logic

Using Actions

A reference guide to all available actions for creating game logic.

Actions are the core building blocks of your game's logic. They are the "what happens" part of the "when something happens, do this" equation. You can chain multiple actions together in an Action List to create complex sequences of events.

Actions are added inside Events (for Regions), Functions, Custom Items, and Custom GUIs.

Action Targets

Most actions need to know who or what to affect. This is called the Target. When you add an action to an event, the event provides context. For example, a Player Enter Region event provides a Player. You can then tell a Send Message action to target that specific Player.

  • Player: The player who triggered the event.
  • Entity: An entity involved in the event.
  • Block: A block involved in the event.
  • Location: The location where the event occurred.

And many more. When multiple targets are possible, you can use the Execute For action to run a function for a group of players or entities.

Action Categories

Actions are organized into three main categories to help you find what you need.