Hello, forgive my google translation
Can somebody help me?
I am trying to make this sequence of functions work but I can not link move1 with move2.
Does anyone know how to do it?
local function mover2() local bajarElevador = function() if elevador.y \< 3000 then elevador.y = elevador.y + 1 end end Runtime:addEventListener( "enterFrame", bajarElevador ) end local function mover1() local subirElevador = function() if elevador.y \> 1900 then elevador.y = elevador.y - 1 elevador.onComplete = mover2 end end Runtime:addEventListener( "enterFrame", subirElevador ) end mover1()