Cant detect scroll wheel input whilst hovering on property "Active" set UI

I want to make an inventory hot-bar that you can scroll on while your are hovering on it to switch the main item, but after testing, I realised that the scroll wheel input on Mouse (:GetMouse) only works if your hovering on no UI or non-active UI (which then still scrolls your camera)

Is there any way to detect the input no matter what position the mouse is in, etc?

Alright after a bit of searching around i figured out that you use UserInputService.InputChanged to detect mouse scrolling. For the hotbar i just got the mouse location and the UI at that location to see if the player’s mouse was on the inventory hotbar.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.