extends TextureRect @export var num:int=1 signal pressed(n:int) func _ready() -> void: $Label.text=str(num) func _on_button_pressed() -> void: pressed.emit(num) pass # Replace with function body.