\documentclass[beamer,preview,multi]{standalone}
\usepackage{pseudo}
\pseudoset{hpad, compact, kwfont=\bfseries}

\standaloneenv{myenv}

\begin{document}

\begin{standaloneframe}
\begin{myenv}
\begin{pseudo}
    <1>  Go to line 3  \\
    <3>  Go to line 4  \\
    <2>  Go to line 2  \\
    <4>  Go to line 1  \\
\end{pseudo}
\end{myenv}
\end{standaloneframe}

\end{document}
