Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / about tweening

Author
Message
haliop_New
User Banned
Posted: 25th Jan 2019 11:06
so recently I started using Tweening instead of normal code to adjust all kind of attributes.
and I have a simple question.

when a tween finished playing do I need to "StopTween<Element>(tweenId,elementId)"
or does it does that automatically cause in my head it does not stop until I stop it and I wrote already like 100 lines of code just for this when the tween finished playing... is it even necessary?
Bengismo
7
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 25th Jan 2019 11:29
The tween will stop itself once it is finished. You dont have to call StopTween unless you want to stop it early or before its finished.

You can tell if it has stopped by calling GetTweenChainPlaying()
haliop_New
User Banned
Posted: 25th Jan 2019 13:50
thanks!

Login to post a reply

Server time is: 2024-11-23 08:30:19
Your offset time is: 2024-11-23 08:30:19