Author Topic: tween position  (Read 2751 times)

Dickon

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
tween position
« on: April 25, 2014, 11:23:57 PM »
hi guys

how can i do a tween position in a panel and after some seconds, do the reverse tween ?

i cant add two tween positions in same panel, so i can do a tween cascate, first to one direction and second to reverse direction. :(

Tween has delay time but dont have time after the tween is done.

any help ?

ps : sorry my english skills.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: tween position
« Reply #1 on: April 26, 2014, 03:11:57 PM »
Use the On Finished functionality of the tween. You can set it to trigger another tween, or even the same one's PlayReverse() function. If you need a delay, write a custom function that will wait a bit, then play the tween in reverse -- again triggered from On Finished.