Repository navigation
JS api
matwindow edited this page Nov 17, 2026
·
1 revision
let mywindow=OS.window.new({})
//This script shows a new window in the Desktop and saves its id to the varmywindow.prop -> {}
//all the windows proprotiesExample; Make the window invisible
mywindow.prop.hidden=true| Id | Input | Use |
|---|---|---|
hidden |
boolean | Use this to make the window invisible. |
no_touch |
boolean | Use this to make the window not lock the clicks for the desktop (if you use hidden this is recomended). |
titlebar.show |
boolean | Use this to make the window not have the titlebar (if you use hidden this is recomended). |
fullscreen |
boolean | Use this to make the window be fullscreen. |
mywindow.fun -> {}
//shows all functionsexample; shows rect on screen
mywindow.fun.draw.rect(mywindow.conner.lt+[10,-10],mywindow.conner.rb+[-10,10],OS.colors.rgba(255,255,255,1))| Id | Input | Use |
|---|