extends Control func _on_message_timer_timeout(): %MessagesContainer.visible = false func _on_player_trigger_message(message): %MessagesContainer/MessageTextEdit.text = message %MessagesContainer/MessageTimer.start(1) %MessagesContainer.visible = true