FFXIV MACRO

Target nearest enemy

Selects a nearby targetable enemy as a targeting aid for mouse or controller play. It does not attack; use normal hotbar actions after confirming the selected enemy.

Combat & targetingDifficulty: EasySingle command

Macro code

/targetenemy

/targetenemy

What this does

Selects a nearby targetable enemy as a targeting aid for mouse or controller play. It does not attack; use normal hotbar actions after confirming the selected enemy.

How to use

Run it without an enemy selected, then check the target name and marker. If it selected the wrong enemy, cycle targets normally and use an action only after confirming the result.

Requirements

A valid enemy must be visible or within the game's targetable range.

    Notes

    The nearest enemy is not always the encounter's priority target. This also differs from `/battletarget`, which concerns enemies engaged with you. Keeping selection and attacks separate reduces accidental actions.

    Verified patch7.55
    Last verified2026-08-28
    Official command/targetenemy
    Check official command