kytschBASIC

Put down that phone!
Please view me on real computer.

COPY SHAPE
CURRENT SHAPE, NEW SHAPE
Requires arcade library

The ability to copy a shape.

Example

INCLUDE arcade
RGB 0,0,0
BITMAP 0,0,640,480
	REM Create an almost transparent circle
	RGB 255,0,0,98
	CIRCLE 280,220,40

	REM Copy the freshly drawn circle and create a new one
	COPY SHAPE 0,1

	REM Move the copied circle's X and Y
	MOVE SHAPE 360,300

	REM Set the transparency of the shape
	SET TRANSPARENCY 0

	DRAW SHAPE
BITMAP CLOSE

Output

Parameters

Parameter Type Description
0integerThe current shape
1integerThe new shape

See also