MACRO targetenemy

Cycles your target through nearby hostile entities.

/targetenemy [options] direction


This command accepts secure command options. The value associated with the first satisfied condition will be interpreted as described below. If no conditions are satisfied, no action will be performed.


if true or number that is at least 1, cycles through nearby hostile entities in reverse order.


  • Unlike /target, this command does NOT allow you to specify what to target by name or unit.
  • Units which are attackable, but not hostile (such as creeps), are not included in the list of potential targets.
Community content is available under CC BY-SA 3.0 unless otherwise noted.