I create four buttons on the right side and when i touch button '1' set variable 'slajd' to 1 so when 'slajd' is 1 lerp object to position x and opacity to 100 (all works fine) but i have second condition- when 'slajd' is 2or 3 or4 set lerp to start possition x and set opacity to 0.
When i set 'slajd' to 2,3,4 my lerp behave weird.
Please take a look at my capx
dl.dropbox.com/u/44710358/depocyte.capx