Hello , there is lock target and free target , which is recommended to use lock target to not interact with any other target beyond the current target you're looking to cast spells or being attacked , Free target has advantage of being free instead of lock and can cause problem if its done wrong by hovering your mouse around the target in a team fight.