Shape:setUserData

Edit

Sets the user data associated with the Shape.

Shape:setUserData(data)

Arguments

NameTypeDescription
data* The custom value associated with the Shape.

Returns

Nothing

Notes

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

See also