Difference between _input and _gui_input

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

Hello, as the title says, what is the difference between using _input and _gui_input ? The docs say that _gui_input is specially for Control nodes, but I’ve been using normal _input in Control nodes since I wasn’t aware that _gui_input existed, and it works just fine. Am I missing something?

:bust_in_silhouette: Reply From: USBashka

It’s just holds input only for specific node. It’s easier because it won’t trigger if click is outside of the node or it’s overlapped. It also provides click position relative to the node origin which is also can be helpful.