need a little help with my slide


  • Posts: 35
In my level select screen I have two arrow button and many level buttons.  when I click the arrow the levels slide one way or the other.  my problem is they don't move exactly were I want them to. the X position is always off by a bit.

the code is
slide by x 150 y 0 in 0.5 sec

sorry for no pics. posting off my phone


  • *
  • Posts: 9472
That happens because tweens are not accurate.  You can set the position directly after the tween is finished to make sure the actor ends up in the right position.


  • Posts: 35
That's what I was thinking. just trying to keep the code small but a little extra isn't a big deal.  thanks for a fast reply.