my script menu.js ;
i want user prefabs in mouselook and charactermotor script remove || enabled false;

example code ; GetComponent(MouseLook).active = false; or enabled = false; not working.

how to make this ?

Thank you.
Best regards.

To remove a component you destroy it:

     Destroy( GetComponent<MouseLook>() );

But I’m not sure why your enabled = false is not working - it would imply that the script you have posted is not on the same object as the MouseLook. If it is on a parent you could use GetComponentInChildren<MouseLook>()