BaseItem.physics.on_collision_exit method

on_collision_exit(self, handler: Callable[[t: BaseItem], None]) -> None:

Handles the end of a physics collision between this item and another item.

To remove the handler, pass null for handler.

Parameters

  • handler: Callable[[t: BaseItem], None]

    passes item which this item collided against.