Posted November 20, 20213 yr My input system uses a hotkey + scrolling. How may I prevent the inventory hotbar from scrolling [while my key is being pressed]?
November 20, 20213 yr subscribe to MouseScrollEvent, check inside the event if your custom KeyBinding is pressed via KeyBinding#isPresed if it is your KeyBinding is pressed cancel the Event
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.