Author Topic: Stop loop true animation when return form game.  (Read 89 times)

qqplayer

  • Sr. Member
  • ****
  • Posts: 140
    • View Profile
Stop loop true animation when return form game.
« on: September 23, 2017, 10:31:52 AM »
Can I stop a loop animation when I return from game?

I made this:

Code: [Select]
    when = Transition.ToGame,
    property = "alpha",
    tween = Tween.Expo
    start = 0,
    end = 255,
    time = 800,
    loop = true

So I want to stop the loop , I´ve tried this but doesnt work:

Code: [Select]
    when = Transition.FromGame,
    property = "alpha",
    start =255,
    end = 0,
    loop = false