Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Kiirox

Members
  • Content Count

    1
  • Joined

  • Last visited

Everything posted by Kiirox

  1. Kiirox

    About ButtonAPI

    Hi, i would like to know how we can do a text that when we touch it execute some code. Thanks for your help! main.lua local component = require("component") local event = require("event") local computer = require("computer") local gpu = component.gpu local term = require("term") local version = "1.0" local h, w = gpu.getResolution() API = require("buttonAPI") local function base() gpu.setBackground(0x0000cc) gpu.fill(1,1,h,1," ") gpu.set((h / 2) - 5,1,"TopiGui v"..version) gpu.setBackground(0xcccccc) gpu.fill(1,2,h,w, " ") while true do gpu.setBackground
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.