Studio › Manual › Motion and effects

Moments and broadcast messages

Type a name in the box next to the transport and press Moment (⌥⌘M) or Message (⌥⌘B):

  • a moment calls that function (from a script) when the sequence reaches the play head's frame. The function must exist, or GameMaker's compiler stops the build (Studio says which one);
  • a broadcast message sends the text to every instance's Broadcast Message event (event_data[? "message"]).

They show in their own rows of the dope sheet and in the inspector, where − removes one. While the canvas plays, the last moment or message shows at the top.

Keys are shown as on the Mac: ⌘ Command, ⌥ Option, ⌃ Control, ⇧ Shift. Studio for Windows shows its own keys beside each menu item.