Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Node2D
- func _ready():
- var getroot = get_parent().get_node("rootnode")
- var timer = Timer.new()
- add_child(timer)
- timer.set_wait_time(.02)
- timer.connect("timeout",getroot,"timerprint")
- timer.start()
- func timerprint():
- print("hello")
- pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement