Skip to content

Kiln API / kiln / TweenHandle

Interface: TweenHandle ​

A started tween; .then(...) queues another to start when this one finishes.

Properties ​

PropertyModifierType
idreadonlynumber

Methods ​

then() ​

Call Signature ​

ts
then(
   target, 
   trait, 
   values, 
   options?
): TweenHandle;

Starts after this tween finishes. Same arguments as Tweens.to.

Parameters ​
ParameterType
targetEntityRef
traitTrait
valuesRecord<string, number>
options?TweenOptions
Returns ​

TweenHandle

Call Signature ​

ts
then(
   target, 
   values, 
   options?
): TweenHandle;
Parameters ​
ParameterType
targetobject
valuesRecord<string, number>
options?TweenOptions
Returns ​

TweenHandle