Skeleton2DAnimationFrame

Family: Skeleton · One form

What it does

Skeleton2DAnimationFrame sets 2DAnimationFrame on a Skeleton object. It takes iSkeleton (an integer), anim (a string), time (a float) and tweentime (a float), and returns nothing.

Syntax

Skeleton2DAnimationFrame(iSkeleton integer, anim string, time float, tweentime float)

Parameters

NameType
iSkeletoninteger
animstring
timefloat
tweentimefloat

Every form returns

nothing

Example · generated

Skeleton2DAnimationFrame(1, "value", 1.0, 1.0)DO  Sync()LOOP

Skeleton2DAnimationFrame is called with values of the types its signature asks for. 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