i have a simple function where you reduce the opacity of an object every 0.3secons
goes like this
timer.performWithDelay(300,function() object.alpha end,4)
the initial alpha value of the object is 0.4 but when the timer runs 4times suddenly a warning appears on the output screen that says
“attempt to set object.alpha to - 0.00588235 which is out side the valid range clamped to the range[0,1]”
the alpha should be 0 but it says like above ,
this won’t be a problem since I can just remove the object at the last phase instead but still I want to understand the mechanism why this happens? is this something related to internal computer processing algorithm