World:getCallbacks
Edit- Returns the callbacks assigned to the World.
- The callbacks are described in more detail on
World:setCallbacks.
callbacks = World:getCallbacks()Arguments
None
Returns
| Name | Type | Description |
| callbacks | table | The World collision callbacks. |
| .filter | function | nil | The function used to filter collisions. |
| .enter | function | nil | The function called when 2 colliders start touching. |
| .exit | function | nil | The function called when 2 colliders stop touching. |
| .contact | function | nil | The function called every frame while 2 colliders are in contact. |