Shape:getUserData

Edit

Returns the user data associated with the Shape.

data = Shape:getUserData()

Arguments

None

Returns

NameTypeDescription
data* The custom value associated with the Shape.

Notes

User data can be useful to identify the Shape in callbacks.

See also