hi, (I’m sorry this is really a beginner question)
i have again a problem to return a value from a function. what’s the good syntax ? thanks for your help.
in my case baba.x=timer*10 doesn’t works…why?
local baba=display.newImage( "my5.png" ) baba.x=340 baba.y=100 local function scaleOut () transition.scaleBy(bulle, { time=1500, xScale=-0.6, yScale=-0.6 }) local timer=0.6 return timer end scaleOut () baba.x=timer\*10