How to make character attack for android game..?

i can make the character moving…but i cannot make it attack…how to make a button…then if we press that button the character will attack?

The button is the easy part (check out GUI.Button).

The attack in the other hand might be to much for you right now if you needed an answer for the first part.

Akmal… can you tell me how you moved the character using GUI buttons…
for android game

i already know how to create button using GUI fnction…i just dont know how to make the character attack when i press the button…