Help with Pointer Events 2D Game

So i’m working on a 2D platformer, but got a problem with the mobile controls, i’m using the OnPointerUp and OnPointerDown evnts, but the player won’t jump and walk at the same time, so my question is, is there a way to have the two events run at the same time? Right now i got scripts for every button with the event handler. Thanks.

Hi,
I hope this can help you.

I looked at this and its not what i’m looking for, i think i have a solid understanding about how the functions end and the other functions. My problem is that when i press down the Ex. walk left key on my UI and while still walking hit the jump button it does nothing, i’m trying to find a solution to this problem, any suggestions would be great.