Considering the following TeX code:
\documentclass{beamer}
\usepackage{tikz}
\usetikzlibrary{shapes}
\begin{document}
\begin{frame}
\begin{figure}
\begin{tikzpicture}
\node (A) [draw=blue] {Text1};
\node (B) [draw=yellow] {Text2};
\end{tikzpicture}
\end{figure}
\end{frame}
\end{document}
How can one put a pause after the appearance of node 'A' and at any key press or mouse click, node 'B' should appear.

\only<1>{\node (A) [draw=blue] {Text1};}and\only<2>{\node (B) [draw=blue] {Text2};}. – Salim Bou Aug 11 '15 at 07:06