How can i change the time value of a transition while is executing? For example I have the object “cesta” moving from the left to the right with a time of 4000ms then for some reason I want to change the time value to move it faster.
function createCesta()
…
transition.to(cesta, {time = 4000, x = screenW + 110})
…
end
function touchScreen(event)
if event.phase == “began” then
end
if event.phase == “ended” then
–change the time value from here “from 4000 to 2000”
end
end