Inverse of OnTriggerStay?

Hey guys! All is in the question: is there a way to do the inversion of OnTriggerStay? Like a function that will return something if there’s absolutly NO objects on trigger?

Thanks

There are a couple of options. If the collider is a sphere you can simply use OverlapShere to check for the presence of any colliders.

The other way is to keep track of all of the present colliders by adding them to a collection with OnTriggerEnter and removing in OnTriggerExit.