Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- extends Node2D
- var timer=0
- var time_limit = 3.0
- func _process(delta):
- if timer >= time_limit:
- print("Hello World")
- timer = 0
- else:
- timer += delta
- func _ready():
- set_process(true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement