TweenChainTime

Family: Tweening · One form

What it does

TweenChainTime writes to a Tweening object: it sets rather than reads. It takes chainID (an integer) and time (a float), and returns nothing. chainID is the id of a Chain object, obtained elsewhere in the Tweening family.

Syntax

TweenChainTime(chainID integer, time float)

Parameters

NameType
chainIDinteger
timefloat

Every form returns

nothing

Example · generated

chain = CreateTweenChain()TweenChainTime(chain, 1.0)DO  Sync()LOOP

CreateTweenChain is there to give the call something to act on; TweenChainTime 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.

149 commands in Tweening