According to, e.g., this answer: Uncover lstlisting on a particular slide using \onslide or \uncover, there is no such equivalent, and I also could not find any. You can user
\onlyenv with an overlayarea environment to avoid jumps due to overlay animations. This however forces you to initially fix the dimensions of the animated area, which you don't have to when you're using
I sometimes resort to creating overlays with external programs. My currently preferred solution is Inkscape + the TexText plugin + this script I developed which crates you several PDF from layer specifications and provides you with a snippet to include in your LaTeX file. Sometimes it's just nice to have a graphical editor, even when you like to use LaTeX.