Collider:getUserData
EditReturns the user data associated with the Collider.
data = Collider:getUserData()
Arguments
None
Returns
Name | Type | Description |
data | * | The custom value associated with the Collider. |
Notes
User data can be useful to identify the Collider in callbacks.
See also
Collider:setUserData
Collider