extends Pile signal played # Called when the node enters the scene tree for the first time. func _ready() -> void: pass # Replace with function body. func play_check(): print("waiting") enable_drop_zone = true while true: if get_top_cards(1) != null: played.emit() break