this works, but i tried to turn it into a function which didn't
anyone knows why?
func wait(s):
var t = Timer.new()
t.setwaittime(s)
t.setoneshot(true)
self.addchild(t)
t.start()
yield(t, "timeout")
t.queuefree()
func _ready():
hide()
wait(4)
show()
it took me legit 10 minute to create an account to ask this because u have to click on send me a confirmation mail. that's so unnecessary so here are some random chinese letters 阿贵冉宋日国