Change width of the object for a few seconds


so I make a timer and check the timer.
if the timer is less than 5 seconds, it keeps decreasing the width/scale X/size X of the object.
and I want the size to be 0 in 5 seconds.

this is like wait time animation based on time and size.
please give me advance? thanks

I’d use a size tween instead of a timer. Just set the final target to be 0 and the duration to be 5 seconds/5000 milliseconds

wow, it’s very easy :sweat_smile:
thanks