- Home /
Input.GetKeyDown, Input.GetKeyUp, and mouse wheel do not work while playing in the editor.
The more I have used Unity, the more input stuff stops working when playing within the editor. They all work outside the editor, whether in the web player or stand-alone (Windows).
First thing I noticed not working was the mouse wheel. No matter how I tried to get the input, if I was running the game through the editor, it would never register.
Second, I noticed Input.IsKeyDown stopped working when playing within the editor. Oddly enough... it used to work a few days ago...
Lastly, I noticed that Input.IsKeyUp no longer works when playing within the editor.
The mouse wheel doesn't work in any project. I am about to test making a brand new project for testing IsKeyDown and IsKeyUp.
Your answer
![](https://koobas.hobune.stream/wayback/20220613014331im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Input.GetAxisRaw("Mouse ScrollWheel") 4 times 0 Answers
How to handle Key + Mouse Wheel simultaneously? 1 Answer
Input System Can't Catch Event on Update 0 Answers
Character Zoom in and out 1 Answer
OnTouch function? 3 Answers