How to control another script's isTrigger

How can I control another script’s isTrigger? I need it to be isTrigger = true when the other one i isTrigger = false.

Thanks

You don’t control a script’s isTrigger, but a gameObject’s collider’s isTrigger. gameObject.Find("YourObject").collider.isTrigger = true;

Thanks, that worked out for me :wink:

Bug, sorry…