This is useful for logically or-ing the state of several UI elements together to know if any have changed (e.g. because some common action needs to be taken): uiChanged |= imguiBool(...) uiChanged |= imguiSlider(...) ...