You are reading a single comment by @DrAzzy and its replies. Click here to read the full conversation.
  • You need to put the pos-=posInc; inside the timeout.

    Right now, that is being run between the setting of the timeouts. So all three timeouts get set, and pos gets incremented three times. Then, a second later, the timeouts start firing, with pos at it's final value for all of the timeouts, because it got incremented way back when the timeouts were set.

About

Avatar for DrAzzy @DrAzzy started