Appearance
Interface: TweenHandle
A started tween; .then(...) queues another to start when this one finishes.
Properties
| Property | Modifier | Type |
|---|---|---|
id | readonly | number |
Methods
then()
Call Signature
ts
then(
target,
trait,
values,
options?
): TweenHandle;Starts after this tween finishes. Same arguments as Tweens.to.
Parameters
| Parameter | Type |
|---|---|
target | EntityRef |
trait | Trait |
values | Record<string, number> |
options? | TweenOptions |
Returns
TweenHandle
Call Signature
ts
then(
target,
values,
options?
): TweenHandle;Parameters
| Parameter | Type |
|---|---|
target | object |
values | Record<string, number> |
options? | TweenOptions |
Returns
TweenHandle