I’m creating the movement of a 2d character with keyboard&mouse and gamepad, using ScreenToWorldPoint for aiming the character with m&k but when I switch to a gamepad the aiming is override by the mouse on screen, if I click outside on another panel in unity the gamepad works properly
What needs to do to avoid the mouse on screen override the gamepad controls?, I already tried changing the player default control scheme with playerInput.defaultControlScheme = “Gamepad”; but it doesn’t change in the inspector, it only works when I switch it manually.
I find the solution, I just change the action properties from Value to Pass Through in the Player Input Actions