I have this timer
timer.performWithDelay(1, function() if line then line.rotation = line.rotation + 15 end end , 60)
--comments
--comments
--comments
--comments
--comments
--comments
--comments
the problem is that occasionaly the line object gets removed before the function is able to perform 60 times… and I end up getting an error… attempting to compare nil with a number. I tried adding that if then statement in the anonymous function, thinking it might make it a little safer… My question, can anyone make any recommendations as to how to make this timer safe? [import]uid: 28912 topic_id: 12829 reply_id: 312829[/import]