two OnMouseDowns are not working at a time.

two “OnMouseDowns” are not working at a time.hi to all, i’m working as unity trainee in Hyderabad. right now i’m doing horse game,in this game i have joystick to move horse and a jump button to jump horse. please give me an idea to work both at a time.

How good are your reactions? Unless you’re pressing both buttons in exactly the same frame (i.e. within 1/60th of a second of each other if your game runs at 60FPS), then you’re not going to get OnMouseDown events for both of them firing. I suspect you meant to use GetMouseButton, not GetMouseButtonDown.