How to detect objects that are inside a trigger when game runs?

Hi,

If there is a object inside a trigger when game starts, it won’t get detected in OnTriggerEnter2D. Is there any workaround?

Thanks.

Use (JS):

function OnTriggerStay (other : Collider)
{
.....
}