freeToMove = true local check = function(freeToMove) freeToMove = true end local Movement = function() if freeToMove then freeToMove = false transition.to( man, { time=speed, x=(l[c].x), onComplete=check(freeToMove) } ) end end
Trying to make a boolean that will stop other transitions from working, whilst one is in the process of moving.
this transition will only work once…