Joint:setUserData

Edit

Associates a Lua value with the Joint.

Joint:setUserData(data)

Arguments

NameTypeDescription
data* The custom value to associate with the Joint.

Returns

Nothing

Notes

Set the user data to nil to clear any existing reference.

The user data is not shared between threads. Each thread has its own user data for the Joint.

See also