Actions popularité : 67
Conditions popularité : 92
Triggers popularité : 87
Hotspots popularité : 90
Slide 1
Slide 2
Slide 3
Slide 4
Slide 5
Slide 6
Slide 7
Slide 8
Slide 9
Slide 10
IMAGE OR CARROUSEL for section header You successfully read this important alert message.

TEXTE AVANT FILTRAGE

assets%2F-LAqwYovmUPn5V6CMeID%2F-LdyB0Vt3N1mIIi7L-36%2F-LAwvZicJAMxuRUBrR1-% (...)

(Example of a Trigger with the Input options open)

Advanced Options

The white cog at the top right of the component there’s an Advanced Options foldout. You can specify a minimum distance from which the Player has to be for this trigger to be activated.

There’s also a shortcut option to create a Hotspot component from within the Trigger.

Tips

Some times you’ll want a Trigger to execute an Action only once. You can easily take advantage of an Action’s DestroyAfterFinishing property to destroy both the Action and the Trigger.

To do so, simply add an Actions component inside the same Game Object where the Trigger is. After executing the Actions, it will destroy the entire Game Object.

Available Triggers

These are all the Triggers that come with Game Creator. You can download more at the Game Creator Hub, creating your own using our Open API as well as find more inside each of the modules.

Input

Trigger NameDescription
On Cursor Raycast When the cursor is locked at the center of the screen, use this Trigger to throw a raycast from the center of the screen to simulate a click
On Hover Hold Key Detects when the mouse is over the Trigger’s Collider and the user holds a key for a certain amount of time
On Hover Press Key Detects when the mouse is over the Trigger’s Collider and the user presses a key
On Key Down Detects when the user presses a key down
On Key Hold Detects when the user presses a key down and holds it for a certain amount of time
On Key Up Detects when the user releases a key
On Mouse Down Detects when the user presses a mouse button down
On Mouse Enter Detects when the mouse hovers over the Trigger’s Collider
On Mouse Exit Detects when the mouse exits hovering the Trigger’s Collider
On Mouse Left Hold Detects when the mouse left button is being pressed for a certain amount of time
On Mouse Middle Hold Detects when the mouse middle button is being pressed for a certain amount of time
On Mouse Right Hold Detects when the mouse right button is being pressed for a certain amount of time
On Mouse Left Click Detects when the mouse left clicks on the Trigger’s Collider
On Mouse Middle Click Detects when the mouse middle clicks on the Trigger’s Collider
On Mouse Right Click Detects when the mouse right clicks on the Trigger’s Collider
On Mouse Up Detects when a mouse button is released
Raycast Mouse World Position Detects when the mouse has clicked the Trigger’s Collider and stores the point in a Variable

Character

Trigger NameDescription
On Step Detects when a Character makes a step (right foot, left foot or any of them)
On Jump Detects when a Character jumps
On Land Detects when a Character lands

Object

|Trigger Name|Description|
|On Collision Enter|Detects when an object touches the Trigger’s Collider area|
|On Collision Exit|Detects when an object exits the Trigger’s Collider area|
|On Player Enter|Detects when the Player enters the Trigger’s Collider area|
|On Player Enter Key|Detects when the user presses a key and the Player is within the Trigger’s Collider area|
|On Player Exit|Detects when the Player exits the Trigger’s Collider area|
|On Player Stay Timeout|Detects when the Player has been at least some seconds inside the Trigger’s Collider area|
|On Trigger Enter|Detects when an object enters the Trigger’s Collider area and has the isTrigger TEXTE APRES FILTRAGE
-  : liste tous les intertitres de l’article
-  : liste tous les documents de l’article sous forme de mini-vignette non cliquables. Avec deux paramètres :

width : largeur de la vignette en px,
raz : nombre de vignette sur une seule ligne. Juste après la Nième(raz) vignette, un
est inséré.

>