Author Topic: Item's animation.  (Read 3007 times)

Item's animation.
« on: September 02, 2018, 12:38:34 pm »
Hi!
I have problem with item's animation. I can't make animation from frame to frame and stay with last frame from item.Animate(fromframe, toframe) function. :(

Re: Item's animation.
« Reply #1 on: September 03, 2018, 12:08:08 pm »
OK done with
Code: [Select]
powerswitch.Animate(0, 1);
powerswitch.AnimStayBegin = 1;
powerswitch.AnimStayEnd = 1;
powerswitch.Update();
And to other side
Code: [Select]
powerswitch.Animate(1, 0);
powerswitch.AnimStayBegin = 0;
powerswitch.AnimStayEnd = 0;
powerswitch.Update();