Class representing a signal defined in an object. Signals can be connected to [Callable]s and emitted. When a signal is emitted, all connected callables are called. Usually signals are accessed as properties of objects, but it's also possible to assign them to variables and pass them around, allowing for more dynamic connections. $DOCS_URL/getting_started/step_by_step/signals.html $DOCS_URL/tutorials/scripting/gdscript/gdscript_basics.html#signals Constructs a null [Signal] with no object nor signal name bound. Constructs a [Signal] as a copy of the given [Signal]. Creates a new [Signal] with the name [param signal] in the specified [param object]. Connects this signal to the specified [Callable], optionally providing connection flags. You can provide additional arguments to the connected method call by using [method Callable.bind]. [codeblock] for button in $Buttons.get_children(): button.pressed.connect(on_pressed.bind(button)) func on_pressed(button): print(button.name, " was pressed") [/codeblock] Disconnects this signal from the specified [Callable]. Emits this signal to all connected objects. Returns the list of [Callable]s connected to this signal. Returns the name of this signal. Returns the object emitting this signal. Returns the ID of the object emitting this signal (see [method Object.get_instance_id]). Returns [code]true[/code] if the specified [Callable] is connected to this signal. Returns [code]true[/code] if either object or signal name are not valid. Returns [code]true[/code] if two signals are not equal. Returns [code]true[/code] if two signals are equal, i.e. their object and name are the same.