Targeting lines will indicate the targeting behavior of a unit. After you tap on a unit, you will be able to see the unit they're going to target as soon as the battle starts.