Triggers are objects which can affect other objects, like making them move or change color. This guide explains some of the basic things all triggers have, and gives some tips for using them well.
Made by Komatic5, and Seal
Required Guides: Placing Objects, Editing Objects
Easy difficulty
Tiny (2-3 minutes)
In this guide, we’ll go over the basics of triggers.
Triggers are objects that can change the properties of other objects. You can use triggers to make objects change colors, move around, rotate, and so on. In the editor, triggers are just colored circles with a tag and a number on them. However, when you’re playing a level, they are invisible.
At a low level, you can do very simple things with triggers, like in Stereo Madness where only the background and ground colors change. At the most advanced level, you can do seemingly mind-blowing things, like in HOW.
People have even made entire games inside of GD; some examples include Geometry Dash and MasterGame. Triggers made all of these levels possible.
As you may expect, some triggers are easier to use than others. However, we can categorize them based on what features they have.
One of these features is duration; some triggers work instantly, while others may work over a period of time. The time a trigger takes to work is known as its duration. You can see how long a trigger’s duration is by going to Editor Settings and enabling Duration Lines.
Another one is groups. Groups allow you to specify what objects a trigger should target, and are a part of almost every trigger. We’ll discuss them more in a few guides.
And yet another one is Special IDs. Alongside groups, some triggers have separate IDs to function properly. For example, Collision triggers require a group and two Collision Blocks to function. This’ll be covered in later guides.
First, decide what you will do with the trigger. If you want to change an object’s color, use a Color trigger. If you want to move it, use a Move trigger. You have a lot of possibilities, but the simpler each action is, the better.
Next, place down the trigger and set it up. Each trigger lets you choose what objects it will target and how it will affect them. We’ll show you how each of the triggers works in each guide from here.
Finally, test if the trigger did what you want. Remember that some triggers don’t work without playtesting in the editor or in-game. You may need to adjust its options before getting a satisfying result.