# Removing mouse listener from animation [closed]

I'm trying to create an animation using the animateinline environment from the animate package. More precisely, I want to remove the mouse listener from the animation itself, so that it is controlled exclusively by the media buttons I place.

(In other words, I'm trying to make clicking on the "A" or "B" do nothing, or, ideally, make it just select them as if they were normal text.)

I've tried placing a tikzpicture above the entire thing, but that didn't work. I also haven't found anything in the animate package documentation regarding this.

The mediabuttons are needed to later control multiple animateinline environments with the same button, which to my knowledge the standard controls option cannot do.

Any help is much appreciated.

MWE:

\documentclass[a4paper]{article}

\usepackage{animate}
\usepackage{media9}
\usepackage{tikz}

\begin{document}

\begin{animateinline}[
label=myAnim,
autoplay = false,
step = true,
loop = true,
autoresume = false,
autopause = false
]{1}
\begin{tikzpicture}
\node at (0,0) {A};
\end{tikzpicture}
\newframe
\begin{tikzpicture}
\node at (0,0) {B};
\end{tikzpicture}
\end{animateinline}

\mediabutton[
jsaction={
% ensures frameNum stays within range
}
}
]{\fbox{\strut Previous}}
\mediabutton[
jsaction={
% ensures frameNum stays within range

• You can add the nomouse option. It's described on page 8 of the documentation. – Max Sep 30 '18 at 2:52