Scene 편집 도구를 이용해도 되지만, GD Script만으로 코딩을 하고 싶을 경우(?)에는 아래 예제를 참고하여 작성하면 된다.
extends Node func _ready(): var timer = Timer.new() add_child(timer) timer.connect("timeout", self, "_on_timeout") timer.set_wait_time(10) timer.start() func _on_timeout(): print("Time out!")
[참고] http://docs.godotengine.org/en/3.0/classes/class_timer.html