Skip to content

B2d_shape_duplicate

hugh greene edited this page Jun 20, 2022 · 1 revision

Description

Duplicates the given shape and returns the index of the copy.

Parameters

Parameter Description
id index of the shape to duplicate

Return Values

integer: Returns the index of the duplicated shape.

Example Call

// demonstrates create a new shape
mynewshape = b2d_shape_duplicate(myorigshape);

NOTOC

Clone this wiki locally