🟢Button

This legacy behaviour was moved to a component in Game Maker 0.10 for to improve interconnection of logic. Documentation is being updated.

Send a message when a player interacts with an object.

Build Singleplayer & Multiplayer Logic - about [SP] or [MP] behaviours or components.

Button [SP] [MP]

Interacting with this button will send a message to all assets within its broadcast range.

Common Uses

  • Send a message to another Object's Toggle Component to activate or deactivate its Behavior (e.g., Platform, Melee Enemy, etc) for a puzzle platformer

  • Apply to Assets such as info panels and trigger the NFT Details Display Component, open doors from a distance, etc.

  • Trigger lights and/or sound to turn on/off

  • Reset logic on a Multiplayer Experience

Communications

Inputs:

Player Interaction (Press E)

Outputs:

Send one message within a specified range

Drawing

Parameters

Options
Details

Message to Send - set a Message to send when players press E and interact with this Object

Broadcast Range - set the distance the Message will reach This parameter is visualised with a yellow circle Gizmo that adjusts as you change the value.

Last updated

Was this helpful?

#123: GM 0.11 update - do not publish until public release

Change request updated