M_Shape:ShapeID()

Version added: 11.0

Added in version 11

Return type (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
moho:CreateShape
mesh:Shape
mesh:ShapeID