# Help on timer or countdown

**URL:** <https://forum.kirupa.com/t/help-on-timer-or-countdown/72882>\
**Category:** Uncategorized\
**Created:** [December 10, 2004, 3:04am UTC](https://forum.kirupa.com/t/help-on-timer-or-countdown/72882 "2004-12-10T03:04:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![franciseah](https://avatars.discourse-cdn.com/v4/letter/f/b4bc9f/32.png) [@franciseah](https://forum.kirupa.com/u/franciseah)\
**Post date:** [December 10, 2004, 3:04am UTC](https://forum.kirupa.com/t/help-on-timer-or-countdown/72882/1 "2004-12-10T03:04:45Z")

</div>

errm…currently i do a game for my sch project…is abt a char that consently moving forward…when it touches a animation, the scale for x and y will change…but i need to do a timer for making to change back to the orginal size for a few seconds or a while…i hadve try the GetTimer() and getinterval and getseconds…but none of them can restart or i should say return back to 0 again…it will change keep on counting up when i use the Trace method…and i dunno quite understand the clearinterval…hope u all can help me out

var start;  
start = setinterval(collideElect,100000);  
if (start ==300)  
{  
char.\_xscale = 100;  
char.\_yscale = 100;  
}  
clearinterval(start);  
after the start reach 300…it won’t return back to 0 or what…so i wan to know whether got any solution that can make the setinterval return to 0 or using clearinterval to restart the setinterval…ps…i have try quite num of methods…so i need help on this
