CreateSkeleton2D

Family: Skeleton · 2 forms

What it does

CreateSkeleton2D creates 2D on a Skeleton object. It takes iSkeleton (an integer), and returns nothing. That is the first of 2 forms.

Syntax

1
CreateSkeleton2D(iSkeleton integer)
2
CreateSkeleton2D() → integer

Parameters

NameTypeIn forms
iSkeletoninteger1

What each form returns

1CreateSkeleton2D(1)nothing
2skeleton2D = CreateSkeleton2D()integer

Example · generated

Form 1, you choose the id yourself

CreateSkeleton2D(1)DO  Sync()LOOP

Form 2, the command hands back the id

skeleton2D = CreateSkeleton2D()DO  Sync()LOOP

CreateSkeleton2D 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