Using buttons for perform attacks.

I have a complete attack system wired up that uses right click for attacks. Now I’m transitioning to touch controls. And I’m trying to figure out how I can have a button used for attacks instead. I have a basic HUD set up with a button on screen but am having trouble figuring out how to wire it up