What it does
TweenCustomFloat3 takes tweenID (an integer), and answers a float. That is the first of 2 forms. tweenID is the id of a Tween object, obtained elsewhere in the Tweening family.
Syntax
1
TweenCustomFloat3(tweenID integer) → float2
TweenCustomFloat3(tweenID integer, begin float, end float, interpolation integer)Parameters
| Name | Type | In forms |
|---|---|---|
| tweenID | integer | all |
| begin | float | 2 |
| end | float | 2 |
| interpolation | integer | 2 |
What each form returns
| 1 | TweenCustomFloat3(tween) | float |
| 2 | TweenCustomFloat3(tween, 1.0, 1.0, 1) | nothing |
Example · generated
Form 1, the command hands back the id
tween = CreateTweenCustom(1.0)DO Print(TweenCustomFloat3(tween)) Sync()LOOPForm 2, you choose the id yourself
tween = CreateTweenCustom(1.0)TweenCustomFloat3(tween, 1.0, 1.0, 1)DO Sync()LOOPCreateTweenCustom is there to give the call something to act on; TweenCustomFloat3 is the line that matters. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.