image = Image("logo.png"); pos_x = Window.GetWidth()/2 - image.GetWidth()/2; pos_y = Window.GetHeight()/2 - image.GetHeight()/2; sprite = Sprite(image); sprite.SetX(pos_x); sprite.SetY(pos_y); fun refresh_callback () { sprite.SetOpacity(1); spr.SetZ(15); } Plymouth.SetRefreshFunction (refresh_callback);