def current_frame(self):
        """
        Compute the number of the current frame (0-indexed)
        """
        if not self._pause_level:
            return (
                int((self._clock() + self._offset) * self.frames_per_second)
                % len(self._frames)
            )
        else:
            return self._paused_frame
def current_frame ( self ) : if not self . _pause_level : return ( int ( ( self . _clock ( ) + self . _offset ) * self . frames_per_second ) % len ( self . _frames ) ) else : return self . _paused_frame
Compute the number of the current frame (0-indexed)