'When the star comes out of the box'

def revealing(self):

    self.rect.y += self.y_vel
    if (self.rect.bottom <= self.box_height):
        self.rect.bottom = self.box_height
        self.start_bounce((-2))
        self.state = c.BOUNCE
    self.animation()
