tommy2805

Dimensioni schermo

Oct 4th, 2025
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1. local mon = peripheral.wrap("top")
  2. mon.setTextScale(0.5)
  3.  
  4. local w, h = mon.getSize()
  5. print("Larghezza:", w, "Altezza:", h)
  6.  
Advertisement
Add Comment
Please, Sign In to add comment