rendered paste bodyinit python: def show_shop_ui(): ui.frame(xpos=100, ypos= 100) ui.hbox() ui.imagebutton(idle_image = "prueba_idle.png", hover_image = "prueba_idle.png", insensitive_image = "prueba_idle.png",clicked=ui.returns("sword")) ui.imagebutton(idle_image = "circulo.png", hover_image = "circulo.png", insensitive_image = "circulo.png",clicked=ui.returns("circulo")) ui.text("testing") ui.close() return def shop_screen(**kwargs): button = "" while(True): show_shop_ui() button = ui.interact() if button == "sword": ui.vbox() ui.text("Hola") ui.close() elif button == "circulo": ui.vbox() ui.text("Chau") ui.close() return renpy.define_screen("shop", shop_screen)