The ability to focus on stimuli in which we are interested while resisting distracting stimuli is called

Stimulus focusing

Concentrated attending

Selective attention

Structured perceiving