Hi all,
i have this timer:
var freedTimer = Timer.new()
freedTimer.set_timer_process_mode(1)
freedTimer.connect("timeout",self,"_on_freedTimer_timeout")
freedTimer.set_wait_time(.3)
add_child(freedTimer) #to process
freedTimer.start() #to start
In another function, how can I stop it? I tried get_node("freedTimer").stop()
but got an error that it doesn't exist (null error), so I'm obviously referencing its path incorrectly.
I'm sorry for such a basic question but I do struggle with this aspect. I know I'll get my head around it soon, just need a nudge for now.
Any and all help much appreciated.