Hi All,
I am trying to store the ID of a timer in a scene wide variable so I can cancel it when the scene changes - sounds easy but all I’m seeing is a nil value error
local t1; -- Set at the top of the file --237 lines later in a scene:show() function t1 = timer.performWithDelay(1000, initialWelcomeBubble); timerTable:insert(t1); -- \<-- ERROR on this line. Why is t1 not available to be set?
Any thoughts?