'Animation of flower coming out of box'

def revealing(self):

    self.rect.y += self.y_vel
    if (self.rect.bottom <= self.box_height):
        self.rect.bottom = self.box_height
        self.state = c.RESTING
    self.animation()
