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

Stimulus focusing

Selective attention

Concentrated attending

Structured perceiving