This might come off as a stupid question, but in an if statement, is it possible to check if the object is currently colliding with another object?
Here is what I ha
Maybe what you are looking for is the OnCollisionStay method, this one will fire as long as they are touching each other.
There is some more info in the link here: https://docs.unity3d.com/ScriptReference/Collider2D.OnCollisionStay2D.html