disable script that is in another object

I’ll try to explain it as better as i can!

explain 1:

explain 2:

of course,

Simply find the component, and change its enabled property to false.

like

gameObject.GetComponent<MyComponent>().enabled = false;
this is c# code.