swiping angle and direction - can it be used for gameplay?

Lets say I have a game control element where I want my game to do something when I swipe left, another thing when I swipe right, a third thing when I swipe up , another for swiping down, then different things for diagonal swipes.

Is this possible to set up in gdevelop?

If so, how? I am not sure how to do this. Is there an example scene somewhere? Motion gesture example?

Thanks in advance

1 Like