onLeave

open override fun onLeave(callback: context(Simulator) (T) -> Unit)

Callback to execute when an entity leaves the container