[Tex/LaTex] Leave certain part of a tikz-picture uncovered

tikz-pgftransparency

i have a picture with three circles, see the minimal working example below:

\documentclass{beamer}
\setbeamercovered{transparent}
\usepackage{tikz} 

\begin{document}

\begin{frame}
\begin{tikzpicture}
\draw (1,0) circle (1);
\pause
\draw (5,0) circle (1);
\draw (10,0) circle (1);
\end{tikzpicture}
\end{frame}

\end{document}

For certain reasons, i would like to show only the first circle with a continous lins, the other circles should be visible in a semitransparent way. By using the "\pause"-command, i get an image exactly in the way i would like to have it on the first slide, but i do not want the second slide to be generated (because here all three circles are fully visible again).

Is there an option / certain command in order to "highlight" just a certain part of a whole picture? In other words, is there an option for fading out certain areas of an image?

Thanks in advance and best regards!

Best Answer

If I understand you correctly you could just put the two last circles in a scope and set opacity=0.3 (adjust the value to whatever you like).

enter image description here

\documentclass{beamer}
\setbeamercovered{transparent}
\usepackage{tikz} 

\begin{document}
\begin{frame}
\begin{tikzpicture}
\draw (1,0) circle (1);
\begin{scope}[opacity=0.3] % sets opacity to 30% for everything in the scope
\draw (5,0) circle (1);
\draw (10,0) circle (1);
\end{scope}
\end{tikzpicture}
\end{frame}