Mobile controls

Sorry only now i did read other half of your post
So basically what you need is learn to use touch IDs you will figure out from this topic

And then you need to simply check if any touch which start is made on some button (so basically you invert condition)
And since it was not THAT is your event for setting angle of gun to your touch