Target lock

Posting code would help us get you to a solution. Sounds like running a check to determine if the acquired target is of a certain class(enemy) before locking onto it would be a good start. Ideally though whatever your using to search for/trace objects should ignore anything besides this class. For example f your running a line trace in front of the player, you’d want to setup a custom collision channel for enemies, and have the trace only collide with that channel. Hope this helps