I’m currently working on a small mobile (Android) game with Blueprint. I started testing on the device, but it seams I’m not allowed to press multiple UMG buttons at the same time.
On the left side of the screen I have my various movement buttons, on the right side is a jump button. If I move and jump with keyboard input it all works fine. But using the UMG buttons it stops moving. I made the “pressed color” bright green and noticed it just turns off when I start pressing the jump button.
Is there any way to allow multiple button presses inside UMG, or am I approaching this the wrong way?
The ideas is simple. If you press the button on the left, the box on the left starts to rotate. If you press the button on the right, the right box will rotate. However, my setup shows it is not possible to rotate both boxes at the same time.
I’m probably not taking the correct approach. Here is the function it is calling inside my pawn script:
This is by design. Buttons default to IsFocusable - true. Focused buttons that are pressed, when focus is lost, unpress. You need to mark both buttons as IsFocusable - false.
For people wondering where to find the options, when you click on the button, Look all the way at the bottom of the details panel in the interaction tab.