Skeleton2DAnimationTime

Family: Skeleton · One form

What it does

Skeleton2DAnimationTime takes iSkeleton (an integer) and anim (a string), and answers a float.

Syntax

Skeleton2DAnimationTime(iSkeleton integer, anim string) → float

Parameters

NameType
iSkeletoninteger
animstring

Every form returns

float

Example · generated

DO  Print(Skeleton2DAnimationTime(1, "value"))  Sync()LOOP

Skeleton2DAnimationTime is called and its answer is printed every frame. 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.

34 commands in Skeleton