AddOns WoW API Widget API XML UI Event API WoW Lua Macro API CVars
Battle.net
HOWTOs Snippets UI tech
Categories
← WoW API < FocusUnit
Is supposed to 'focus' on targeted unit, same thing that /focus does. However, this /script command has been blocked by blizzard to avoid people making bots. However /RunMacroText("/focus") can be used still.
/RunMacroText("/focus")
FocusUnit();