- Home /
Player has to let go of the button to use other button with GetMouseDown(0)
I have an iPhone game, the user holds down the right button (which is a sprite on the main camera) to move right, and the left arrow to move left, and I did this using GetMouseButton(0).
However, if the player is holding the left arrow, and then holds the right arrow but is still holding down the left arrow too, they still move left. They have to let go of the left arrow and then hold the right arrow to move right. Is there any way to make the player move right if they hold the right arrow down while already holding the left arrow down, and vice versa?
Thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612051459im_/https://answers.unity.com/themes/thub/images/avi.jpg)