- Home /
Can't find script controlling mouse clicks
Can't find which script is controlling mouse clicks..
Is there a Debug.Log() command that can catch where the event handler is originating?
Note: Using example project Angrybots
If you open any script file in the project in $$anonymous$$ono, you can use Search/Find in Files... to search all the files. Player$$anonymous$$oveController.js might be the file you are looking for.
@robertbu oh, didn't realize mono had a search function with that depth.. :) Looks like TriggerOn$$anonymous$$ouseOrJoystick.js in this case, I can't find what it's attached to though.. it's not attached to the Player object
If you didn't figure it out, you can search in the Hierarchy with the box at the top.
Your answer
![](https://koobas.hobune.stream/wayback/20220613093221im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity crashes on playing in editor and playing after build. 0 Answers
Translating js to c#, getting NULLReferenceExeption 2 Answers
Strange Debug.Break() behavior 2 Answers
Menu Script Problem 0 Answers