Don’t loop to + 1 or - 1 if firstFrame == lastFrame