These are the different types of targeting in the game:

Closest enemy entity - Applies to the majority of units, ex: Swordsman, Thor, Oni Warrior

Closest ally entity - Applies to both units that actively target them with skills (ex: Cleric), as well as units who target and follow them (ex: Archangel, Sekhmet)

Teleport and closest enemy entity - Applies only to assassin units that teleport symmetrically, for example: Assassin, Hermes, Eira, and Toad Druid

Specific entity - Some squads will target a specific entity in the field based on their specific design, for example: Ninja Mole and Explorabbit both target the closest Ranged entity

No target - Applies to units that don’t have a particular target; they move in a set direction, for example: Delivery Guy, Warrior Carriage, and Samurai