M_Shape:ShapeID()

Version added: 11.0

Return value:

int32 A unique identifier for the shape
This function returns a unique ID for the shape. This ID could be anything - after a bunch of editing, adding and deleting shapes, you might have three shapes with IDs of 246, 7, and 42.
The unique ID is used internally for animated shape order.

It is not the same as the shapeID relevant to
id = moho:CreateShape
mesh:Shape (id)
id = mesh:ShapeID(shape)

It is the shapeID relevant to
id =shapeID()
shape = mesh:ShapeByID(id)

Search results

Usage of 'ShapeID' is found in the following scripts:

<< Back to M_Shape