\begin{tikzpicture} \only<-3> { \draw (0,0) circle (3); \draw[opacity=0] (0,0) circle (4.5); } \only<4-> { \draw[fill=orange!40] (0,0) circle (4.5); \node[rotate=90] (public) at (-3.5, 0) {\color{orange} \Large \textbf{public}}; \draw[fill=blue!40] (0,0) circle (3); \node[rotate=90] (private) at (-1.75, 0) {\color{blue} \Large \textbf{private}}; \draw(33:1) -- (33:4.5); \draw(147:1) -- (147:4.5); } \only<-4> { \node[opacity=0] (getSchnitt) at (0, 3.75) {SchnittGeben()}; \node[opacity=0] at ($(getSchnitt) + (0, 0.75)$) {\huge $\bm{\Uparrow}$}; } \only<5-> { \node (getSchnitt) at (0, 3.75) {SchnittGeben()}; \node at ($(getSchnitt) + (0, 0.75)$) {\huge $\bm{\Uparrow}$}; } \draw[fill=white] (0,0) circle (1); \node (akte) at (0,0) {AKTE: a1}; \node (schnitt) at (-0.3,2.1) {\texttt{schnitt:}}; \only<1-2, 4->{ \node[draw, right of=schnitt, xshift=0.3cm] (schnittValue) {\texttt{3.2}}; } \only<3>{ \node[draw, fill=red!50, right of=schnitt, xshift=0.3cm] (schnittValue) {\texttt{1.0}}; } \node[] (setSchnitt) at (0,1.6) {\texttt{SchnittSetzen(s)}}; \only<-3> { \node (nick) at (0,-1.7) {\texttt{spitzname:}}; \node[draw, right of=nick, xshift=0.45cm] (nickValue) {\texttt{"J"}}; } \only<4-> { \node (nick) at (0,-3.5) {\texttt{spitzname:}}; \node[draw, right of=nick, xshift=0.45cm] (nickValue) {\texttt{"J"}}; } \only<2>{ \node[draw, circle, line width=3pt, minimum width=1.2cm] (lense) at (schnittValue) {}; \draw[line width=3pt] (lense.south east) -- ($(lense.south east) + (0.5, -0.5cm)$); } \only<3>{ \node[rotate=15, right of=schnittValue] (finger) {\includegraphics[width=2cm]{img/pointing-right-finger.png}}; } \end{tikzpicture}