How to make "OnComponentHitEnded"

i think overlap is more efficient as you only need to check when it ends or begins, if you were using hit you gotta verify constantly