Tween
Custom wrapper for TweenService.
Package Attribute | Value |
---|---|
__singleton | false |
__domain | shared |
Functions
play
This is a yielding function. When called, it will pause the Lua thread that called the function until a result is ready to be returned, without interrupting other scripts. YieldsTween.
play
(
) →
{
wait:
(
)
→
(
)
}
Creates a new tween object and plays it. params
is passed in as the tween time if it is a number
. Returns a wait
method that is equivalent to TweenBase.Completed:Wait()
.