> For the complete documentation index, see [llms.txt](https://starfall-handbook.rosentica.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://starfall-handbook.rosentica.jp/combat-system/enemy-detection.md).

# Enemy Detection

Enemy Detection Order:

* First, target enemies in the **same row**.
* If there are no enemies in the same row, target the **next row** below.
* If no enemies are present in the next row, target the **row above**.

<figure><img src="/files/bWgCcBu6TNrfT99gcaNY" alt=""><figcaption></figcaption></figure>
