Skip to content

Event functions

Advanced control features for functions made with events.

Actions

Copy function parameter to variable
Copy a function parameter (also called "argument") to a variable. The parameter type must be a variable.

Copy variable to function parameter
Copy a variable to function parameter (also called "argument"). The parameter type must be a variable.

Set condition return value
Set the return value of the Condition events function to either true (condition will pass) or false.

Set number return value
Set the return value of the events function to the specified number (to be used with "Expression" functions).

Set text return value
Set the return value of the events function to the specified text (to be used with "String Expression" functions).

Conditions

Compare function parameter value
Compare function parameter (also called "argument") value.

Compare function parameter text
Compare function parameter (also called "argument") text.

Check if a function parameter is set to true (or yes)
Check if the specified function parameter (also called "argument") is set to True or Yes. If the argument is a string, an empty string is considered as "false". If it's a number, 0 is considered as "false".


This page is an auto-generated reference page about the Event functions feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.