Please tell me how to use Signal.

In this case, to receive it via Visual Scripting, the function must have two arguments.

Since elements like buttons only have one argument, they cannot be properly received in Visual Scripting… Therefore, the solution is to have two arguments. The following methods are available:

  1. Receive the Button signal in a separate GDScript attached to another node.
  2. Connect that node and GameObject manually as described in the documentation, and send the signal in the format signal(signal_name, value).

Additionally, Baz has created a plugin related to this, so it might be beneficial to install the following plugin: