hello sorry to bother you again …
I do not understand why my argument does not work … yet it is logical.
If time = 800 then you stopped the scalemin function but it does not work … you know tell me why?
thank you in advance 
local box = display.newRect(100,100,20,20) local text = display.newText("", 250,100,native.systemFontBold,30) local t = transition.scaleBy(box, {time = 1000, xScale=10, yScale=10}) local move = transition.to(box, {time=3000, x=300, y=200}) local seconds = 1 local function scalemin() transition.scaleBy(box, {tag=scall, time = 1000, xScale=-0.5, yScale=-1}) end local function killIt() print(box.xScale) seconds = seconds + 1 text.text = seconds if box.xScale \> 4 then transition.cancel( t ) transition.cancel( move) scalemin() if time = 800 then transition.cancel(scalemin) end end end timer.performWithDelay(1000, killIt, 0)