Trigger same action with two different events ("or" clause?)

Hi! I am new to gdevelop.
I was wondering how can I make an “or” from traditional programming? For instance, I need to trigger the same action either if the key ‘up’ is pressed, or the key ‘w’ is pressed.
Thanks a lot!

1 Like

Use two events. Different conditions, same action. That’s what I’d do.

There is actually an “Or” condition in GDevelop under “Advanced” category.
After adding the condition, you can add sub conditions for it and when any of them is true, the condition returns true.

3 Likes