Skeleton2DBoneScale

Family: Skeleton · One form

What it does

Skeleton2DBoneScale sets 2DBoneScale on a Skeleton object. It takes iSkeleton (an integer), bone (an integer), sx (a float) and sy (a float), and returns nothing.

Syntax

Skeleton2DBoneScale(iSkeleton integer, bone integer, sx float, sy float)

Parameters

NameType
iSkeletoninteger
boneinteger
sxfloat
syfloat

Every form returns

nothing

Example · generated

Skeleton2DBoneScale(1, 1, 1.0, 1.0)DO  Sync()LOOP

Skeleton2DBoneScale 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