How do you make a top down character attack on click?

So I’ve done some more scavenging and haven’t really found anything. There are 20 views on this question already so a tutorial would probably help out more than just me.