onCollideEnd(t1: Tag, t2: Tag, action: (a: GameObj, b: GameObj, col?: Collision)=>void): KEventController

Register an event that runs once frame when 2 game objs with certain tags stops colliding (required to have area() component).

sincev3000.0

onCollideEnd("bean", "earth", () => {
    worldEnd()
})
kaplay logo