Advertisement
raphael76280

Untitled

Apr 13th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local component = require("component")
  2. local event = require("event")
  3. local keyboard = require("keyboard")
  4. local os = require("os")
  5. local term = require("term")
  6. local gpu = component.gpu
  7.  
  8.  
  9. function rect(x, y, w, h, color = "0x000000")
  10. gpu.setBackgroundColor(color)
  11. gpu.fill(x,y,w,h, " ")
  12. end
  13.  
  14. rect(10,10,25,30)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement