def speed(self, framerate=None):
if framerate is not None:<EOL><INDENT>self._speed = framerate<EOL>self._dynamic = True<EOL><DEDENT>else:<EOL><INDENT>return self._speed<EOL><DEDENT>
Set animation framerate.

        :param framerate: Frames per second to run bot.
        :return: Current framerate of animation.