Events programming?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By anonymous

What is events scripting/programming?

Could you provide some context on what you’re trying to learn about?

Ertain | 2021-05-13 18:14

:bust_in_silhouette: Reply From: magicalogic

It’s simply making a program do something when an event occurs. Events include input (like a key being pressed or a mouse button being pressed), button clicks (on the screen) etc.

Read more about it in this Wikipedia article.

In godot this is achieved through a couple of ways including the Input singleton and the _input(event) function.
More about these here.