Lock on

Combat Targeting is a feature introduced in the Hardmode update for Mobile. When an enemy is nearby it will be targeted. When an enemy is targeted it will have a yellow arrow over it and it's name will also become yellow, instead of the regular white. When using ranged weapons (or items) the projectile will be shot toward the target if you touch the right side of the screen (without moving the joystick). When using melee weapons you will always attack toward your target when using the joystick.