World:getCallbacks

Edit
callbacks = World:getCallbacks()

Arguments

None

Returns

NameTypeDescription
callbackstable The World collision callbacks.
.filterfunction | nil The function used to filter collisions.
.enterfunction | nil The function called when 2 colliders start touching.
.exitfunction | nil The function called when 2 colliders stop touching.
.contactfunction | nil The function called every frame while 2 colliders are in contact.

See also