Mouseover + Tab targetting

IS there a macro for when I mouse over a target and press tab it will target the enemy or friendly even that I have my mouse over, and if my mouse has no target, will continue to target the closest enemy? Thank you!

You can skip the targeting portion and just cast on the thing you’re mousing over.

As for the macro you asked for:

/tar [@mouseover,exists,nodead]
/startattack
2 Likes

Thank you!