Just don't implement those methods on it. Alternately, make a variable switch; if the variable is false, don't execute any code. Code (csharp): function OnMouseEnter() { if (mySwitch) { ... } }