how to use signal godot code example
Example 1: hwo to fire custom signal in godot
signal is_a_signal
if isasignal:
emit_signal(is_a_signal)
Example 2: custom signal godot
extends Node2D
signal my_signal
func _ready():
emit_signal("my_signal")