Game Maker

Function

A property type for storing a reference to one of your map's functions.

The Function property type stores a reference to one of your created Functions. This allows you to dynamically change which function gets called by an action.

  • Default Value: null

Common Use Cases

  • A class selection system where a property SelectedAbility stores a different function for each class. A single "Use Ability" item can then call whatever function is stored in that property.
  • Creating a "difficulty" setting where a global property stores either the EasyModeSetup function or the HardModeSetup function.

Operators (in Change Property action)

  • Set: Sets the property to a specific function chosen from a list of your map's functions.

Checks (in Property Condition)

  • Equals: Checks if the stored function is the same as another function.