Multitouch help

I am making a top down mobile game where your character moves towards your cursor (or touch) position, but there is also an attack button. How would I make it to where you are able to press the attack button while still moving the player towards the touch position that is not on the attack button?

Have a look at the multi touch example. If a new touch is on the attack button, then process it. And if it’s not on the attack button, then either ignore it or move the player to it.