Search Unity

Question Detect mouse click to change bindings

Discussion in 'Visual Scripting' started by MoussaNeggaz, Mar 17, 2023.

  1. MoussaNeggaz

    MoussaNeggaz

    Joined:
    Nov 4, 2021
    Posts:
    18
    Hello !
    I'm trying to implement a system to change keybindings in my game. I had no problem to detect wich keyboard button was clicked but i can't seem to find a way to detect mouse inputs. Does someone know a solution?
    Thanks a lot in advance !! 2023-03-17 16_01_42-Streak_Out - HUD - Windows, Mac, Linux - Unity 2021.3.10f1 Personal _DX11_.png