<aside> 🧟 WARNING: This method did not exist in versions v.0.8.0 through v.0.9.1
</aside>
<aside> 🧟 The info window has been recently reindroduced and is under development. Expect its features and API to change. Notes:
ctrl-i
</aside>
Use partyToggleInfo()
to hide, show, or toggle the visibility of the info panel.
partyToggleInfo([show])
pass nothing to toggle from the current state
pass true to show the panel
pass false to hide the panel
Quick Examples
// don't show the panel at startup.
function setup() {
...
partyToggleInfo(false);
}
// create a buttons to hide/show/toggle the panel
createButton("Toggle Info").mousePressed(() => {
partyToggleInfo(); // pass nothing to toggle
});
createButton("Show Info").mousePressed(() => {
partyToggleInfo(true); // pass true to show
});
createButton("Hide Info").mousePressed(() => {
partyToggleInfo(false); // pass false to hide
});