How do I make both gamepad and mouse UI interaction work together?

Its a local multiplayer game where both players play with a gamepad but I still want some UI be activated by mouse over interactions in general.

Mainly just for information, like mousing over an ability to show a tooltip for example even though both players use a gamepad.

But it seems that mousing over UI only works if the player is assigned the Keyboard&mouse scheme.

I tried checking the UI-mouse point action to both gamepad and keyboard schemes but that doesnt seem to work.

Anyone have an idea?

Come on, how do I get the mouse to work on UI when the player is playing with a gamepad?

I have links that open webpages to social media etc…

Should the mouse work on UI when playing with the gamepad in this scenario??

Ok I got, my god. Add the mouse to the gamepad scheme to receive mouse input with a gamepad

6794060--787433--mouse.png

@lejean_1 ,
Excuse me. I ran into a similar but little bit different issue.

I’m trying to make a pause menu for my game. I’m using the new Input System. I’ve created three buttons “Resume” “Options” And “Quit” And they are supposed to change their transparency a little bit when Mouse hovers over them.

But no matter what I’m unable to figure out how to make it work. I’m new to unity and I’m pretty sure its not working because of something I’ve overlooked. But I can’t figure out what. Could you help me.

This could potentially be your issue:

For me the hardware mouse and the software mouse were moving in the opposite Y direction. But it is the software/virtual mouse that sends events (and it is invisible). So you see the hardware mouse at the ‘wrong’ position.

Try positioning an object at the position of the software mouse and double check it’s location (whether it is really hovering over your buttons)

(More info:

Found. It was a mistake from my part. I accidentally made two canvas in my scene. So I guess My second one with the pause menu was not being (I’m not sure what I’m supposed to say. I’m just going to say) rendered.