Target: target component.
If true, destroys the tweening entity (not the target entity) when the tweening operation ends.
Duration of tween, in seconds.
The tweening function to use, as defined in the TweenFunc enum.
The looping behavior to use.
Target: offset in the component. This is the field offset into the component memory, in bytes. This offset is set automatically when using JS or TS generic addTween functions. Internally, it is retrieved from the ComponentType.FieldName.$o prototype value. For example TransformLocalPosition.position.y.$o has an offset of 4: The second float value inside the TransformLocalPosition component.
Current time of tween, in seconds. Negative if the tween has not started. Setting a negative value delays the start of the tween. You can chain multiple tweens together by having them start at different offsets.
Generated using TypeDoc
Structure that describes a single tween. It is passed into the addTween functions on TweenService.