something of the sort: settings.addBoolean(title, value, callback); let myBool = [false, true]; var gui = createGui('My awesome GUI'); gui.addGlobals('myBool'); // should add a checkbox!