Incomplete documentation: Tween class

Post approval denied.
This is just a result of this bug.

https://developer.roblox.com/en-us/api-reference/class/Tween
This page has no events or functions. I was able to find this using the Object Browser and TweenBase page, which is not linked to from the Tween page.

Functions:

  • void Cancel() | Stops the tween animation. Animation can be restarted by calling Play(), Animation will start from the beginning values. (Inherits from TweenBase)
  • void Pause() | Temporarily stops the tween animation. Animation can be resumed by calling Play(). (Inherits from TweenBase)
  • void Play() | Starts or resumes (if Tween.PlaybackState is Paused) the tween animation. If current PlaybackState is Cancelled, this property will reset hte tween to the beginning properties and play the animation from the beginning. (Inherits from TweenBase)

Properties:

  • PlaybackState PlaybackState (Inherits from TweenBase)

Events:
event Completed(PlaybackState playbackState) (inherits from TweenBase) | Fires when the tween either reaches PlaybackState Completed or Cancelled. PlaybackState of one of these types is passed as the first arg to the function listening to this event.

This topic was automatically closed after 9 minutes. New replies are no longer allowed.