GE Lua Documentation

Press F to search!

Checkbox

Definition


-- @/lua/common/extensions/ui/imgui_gen_luaintf.lua:346
function M.Checkbox(string_label, bool_v)
  if string_label == nil then log("E", "", "Parameter 'string_label' of function 'Checkbox' cannot be nil, as the c type is 'const char *'") ; return end
  if bool_v == nil then log("E", "", "Parameter 'bool_v' of function 'Checkbox' cannot be nil, as the c type is 'bool *'") ; return end
  return imgui.Checkbox(string_label, bool_v)
end

Callers

@/lua/ge/extensions/freeroam/bigMapMode.lua
      local transitionActivePtr = imgui.BoolPtr(camMode.transitionActive)
      if imgui.Checkbox("Activate camera transition", transitionActivePtr) then
        camMode.transitionActive = transitionActivePtr[0]
@/lua/ge/extensions/editor/missionEditor/objectives.lua
    local toggle = false
    if im.Checkbox(key.."##StarKey"..i, im.BoolPtr(self.mission.careerSetup.starsActive[key] or false)) then
      toggle = true
  self.rawCheckbox[0] = self.rawEditPerMission[self.mission.id] or false
  if im.Checkbox("Raw", self.rawCheckbox) then
    self.rawEditPerMission[self.mission.id] = self.rawCheckbox[0]
@/lua/ge/extensions/editor/bulkRename.lua
      end
      if imgui.Checkbox("Also use object asset filename in filtering", useGeneratedNamePtr) then
        updatePreview()
@/lua/ge/extensions/editor/trafficManager.lua

  im.Checkbox("Enable Advanced Selection", options.vehicleGroupEnabled)

    im.Checkbox("Randomize Vehicle Paints##trafficManager", options.vehicleGroupRandomPaint)
  end
          options.aiData.useSpeedLimit = options.aiData.useSpeedLimit or im.BoolPtr(aiData.useSpeedLimit)
          if im.Checkbox("Use Road Speed Limit##trafficManagerAi", options.aiData.useSpeedLimit) then
            aiData.useSpeedLimit = options.aiData.useSpeedLimit[0]
          options.aiData.driveInLane = options.aiData.driveInLane or im.BoolPtr(aiData.driveInLane)
          if im.Checkbox("Use Road Lanes##trafficManagerAi", options.aiData.driveInLane) then
            aiData.driveInLane = options.aiData.driveInLane[0]
          options.aiData.avoidCars = options.aiData.avoidCars or im.BoolPtr(aiData.avoidCars)
          if im.Checkbox("Avoid Collisions##trafficManagerAi", options.aiData.avoidCars) then
            aiData.avoidCars = options.aiData.avoidCars[0]
          options.aiData.enableTraffic = options.aiData.enableTraffic or im.BoolPtr(aiData.enableTraffic)
          if im.Checkbox("Use as Dynamic Traffic##trafficManagerAi", options.aiData.enableTraffic) then
            aiData.enableTraffic = options.aiData.enableTraffic[0]

    im.Checkbox("Keep Original Traffic Lights from Map##trafficManager", options.signalsKeepOriginal)
    im.tooltip("If true, the traffic lights from the map stay the same while the custom ones are used.")

    im.Checkbox("Always Include Player Vehicle##trafficManager", options.includePlayerVehicle)

    im.Checkbox("Save Traffic Lights Separately##trafficManager", options.signalsSaveApart)

    if im.Checkbox("Enable Debug Mode##trafficManager", options.debugMode) then
      M.debugMode = options.debugMode[0]
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veJBeamModifierLeakVis.lua
    im.SameLine()
    if im.Checkbox("Ignore Default Values (EXPERIMENTAL! Not all default values accounted for)", useDefaultValuesForLeaking) then end
@/lua/ge/extensions/editor/flowgraph/garbageDebug.lua
  local debugEnabled = editor.getPreference("flowgraph.debug.debugGarbage") or false
  if im.Checkbox('Debug Garbage', im.BoolPtr(debugEnabled)) then
    debugEnabled = not debugEnabled
@/lua/ge/extensions/util/vehicleRopeDebug.lua
      -- Controls below the table
      if im.Checkbox("Fixed A", uiPtrs.anchorAFixed) then
        selectedRope.anchorAFixed = uiPtrs.anchorAFixed[0]
      im.SameLine()
      if im.Checkbox("Fixed B", uiPtrs.anchorBFixed) then
        selectedRope.anchorBFixed = uiPtrs.anchorBFixed[0]
      end
      if im.Checkbox("Use XPBD", uiPtrs.useXPBD) then
        selectedRope.useXPBD = uiPtrs.useXPBD[0]
      -- Bending controls
      if im.Checkbox("Use Bending", uiPtrs.useBending) then
        selectedRope.useBending = uiPtrs.useBending[0]
      -- Strain limit controls
      if im.Checkbox("Use Strain Limit", uiPtrs.useStrainLimit) then
        selectedRope.useStrainLimit = uiPtrs.useStrainLimit[0]

        if im.Checkbox("Debug Draw", uiPtrs.debugDraw) then
          debugDraw = uiPtrs.debugDraw[0]
        im.TableSetColumnIndex(1)
        if im.Checkbox("Debug Text", uiPtrs.debugText) then
          debugText = uiPtrs.debugText[0]
        im.TableSetColumnIndex(0)
        if im.Checkbox("Debug Nodes", uiPtrs.debugNodes) then
          debugNodes = uiPtrs.debugNodes[0]
        im.TableSetColumnIndex(1)
        if im.Checkbox("Debug Dir", uiPtrs.debugDir) then
          debugDir = uiPtrs.debugDir[0]
        im.TableSetColumnIndex(0)
        if debugNodes and im.Checkbox("Debug Mass", uiPtrs.debugMass) then
          debugMass = uiPtrs.debugMass[0]

        if im.Checkbox("Render Mesh Rope", uiPtrs.renderRope) then
          selectedRope.renderRope = uiPtrs.renderRope[0]
@/lua/ge/extensions/editor/missionEditor/progressSingle.lua
      im.SameLine()
      im.Checkbox(dumps(star.label.txt), im.BoolPtr(star.unlocked))
      im.PopID()
  self.rawCheckbox[0] = self.rawEditPerMission[self.mission.id] or false
  if im.Checkbox("Raw", self.rawCheckbox) then
    self.rawEditPerMission[self.mission.id] = self.rawCheckbox[0]
@/lua/ge/extensions/gameplay/drift/stallingSystem.lua
      im.Text(string.format("Current stalling value : %0.2f", stallingValue))
      if im.Checkbox('Manual debug', manualDebug) then
        reset()
@/lua/ge/extensions/gameplay/drift/stuntZones.lua
      im.Text("Stunt zone count : " .. #stuntZones)
      im.Checkbox('Draw lines', drawLines)
@/lua/ge/extensions/editor/drivePathEditor.lua
    tmpPtr = im.BoolPtr(selSpline.isDriveInLane)
    if im.Checkbox("Drive In Lane", tmpPtr) then
      selSpline.isDriveInLane = tmpPtr[0]
    tmpPtr = im.BoolPtr(selSpline.isAvoidCars)
    if im.Checkbox("Avoid Cars", tmpPtr) then
      selSpline.isAvoidCars = tmpPtr[0]
@/lua/ge/extensions/gameplay/drift/general.lua
          local boolPtr = im.BoolPtr(extensionData.driftDebugInfo.default)
          if im.Checkbox("##"..extensionName, boolPtr) then
            extensionData.driftDebugInfo.default = boolPtr[0]
@/lua/ge/extensions/editor/assetDeduplicator.lua
      local modLinkEnabled = im.BoolPtr(modLink)
      if im.Checkbox("Allow linking with mods", modLinkEnabled) then
        modLink = modLinkEnabled[0]
@/lua/ge/extensions/gameplay/drift/sounds.lua

      im.Checkbox("Simulate drift", simulateDriftPtr)
@/lua/ge/extensions/editor/dynamicDecals/debugSection.lua

  if im.Checkbox(string.format("%s##%s", "Reproject Layers every frame", guiId), editor.getTempBool_BoolBool(reprojectLayers)) then
    reprojectLayers = editor.getTempBool_BoolBool()
@/lua/ge/extensions/editor/rallyEditor/pacenotes/measurementsForm.lua
  if autoEnabled == nil then autoEnabled = true end
  if im.Checkbox("Auto", im.BoolPtr(autoEnabled)) then
    pacenote.intensityVariationAuto = not autoEnabled
@/lua/ge/extensions/editor/terrainEditor.lua
      im.SameLine()
      im.Checkbox("##ApplyTransform", terrainImpExp.applyTransform)
    im.SameLine()
    im.Checkbox("##FlipYAxis", terrainImpExp.flipYAxis)

    if im.Checkbox("Live Brush Update", getTempBool(editor.getPreference("terrainEditor.general.brushSoftnessCurveLiveUpdate"))) then
      editor.setPreference("terrainEditor.general.brushSoftnessCurveLiveUpdate", getTempBool())
@/lua/ge/extensions/career/modules/linearTutorial.lua
        local folder = file[1]
        if im.Checkbox("##Seen " .. folder, im.BoolPtr(M.getTutorialFlag(folder) or false)) then
          M.setTutorialFlag(folder, not M.getTutorialFlag(folder))
@/lua/ge/extensions/editor/multiSpawnManager.lua

    if im.Checkbox("Use Mod Vehicles##editGroup", imValues.allMods) then
      generator.allMods = imValues.allMods[0]

    if im.Checkbox("Use All Configs##editGroup", imValues.allConfigs) then
      generator.allConfigs = imValues.allConfigs[0]
  end
  im.Checkbox("Shuffle##multiSpawn", imValues.shuffle)
  if currGroup.type == "generator" then im.EndDisabled() end
@/lua/ge/extensions/flowgraph/nodes/gameplay/traffic/trafficCustomGroup.lua
    local var = im.BoolPtr(self.params.auto)
    if im.Checkbox('Use Game Options Only##groupGenerator', var) then
      self.params.auto = var[0]
    var = im.BoolPtr(self.params.allMods)
    if im.Checkbox('Allow Mods##groupGenerator', var) then
      self.params.allMods = var[0]
    var = im.BoolPtr(self.params.allConfigs)
    if im.Checkbox('Use All Configs##groupGenerator', var) then
      self.params.allConfigs = var[0]
    var = im.BoolPtr(self.params.simpleVehs)
    if im.Checkbox('Use Simple Vehicles##groupGenerator', var) then
      self.params.simpleVehs = var[0]
@/lua/ge/extensions/career/career.lua
      if mod.drawDebugMenu then
        if imgui.Checkbox(mod.debugName, imgui.BoolPtr(active)) then
          debugSettings[mod.debugName] = not active
@/lua/ge/extensions/editor/roadArchitect.lua
      im.Columns(3, "roadsVisibilityCheckboxesRowTop1", true)
      if im.Checkbox("Roads###11211", mfe.isShowRoads) then
        roadMgr.setRoadsVisibilityMaster(mfe.isShowRoads[0])
      im.NextColumn()
      if im.Checkbox("Bridges###11212", mfe.isShowBridges) then
        roadMgr.setBridgesVisibilityMaster(mfe.isShowBridges[0])
      im.NextColumn()
      if im.Checkbox("Overlays###11213", mfe.isShowOverlays) then
        roadMgr.setOverlaysVisibilityMaster(mfe.isShowOverlays[0])

            im.Checkbox("Show###" .. tostring(wCtr), road.isVis)
            im.tooltip('Show this road in edit visualisation (checked), or not (unchecked).')
            im.NextColumn()
            if im.Checkbox("Show", terraParams.isShowSingleRoad) then
              if terraParams.isShowSingleRoad[0] then
            im.Columns(2, 'autoBankingBtnCols1', false)
            if im.Checkbox("Use Auto Banking", profile.isAutoBanking) then
              if profile.isAutoBanking[0] then
            -- 'Use Extra Corner Width' checkbox.
            if im.Checkbox("Extra Hairpin Width", profile.isExtraWidth) then
              roadMgr.setDirty(road)
                  -- 'Show On Visualisation' checkbox.
                  if im.Checkbox("Show###" .. tostring(wCtr), layer.isDisplay) then
                    mfe.selectedLayerIdx = max(1, min(numLayers, i))
                if layerType == 1 or layerType == 3 then
                  im.Checkbox("Attach Left/Right###" .. tostring(wCtr), layer.isLeft)
                  wCtr = wCtr + 1
                  im.Columns(2, 'type1or2ExtraColsB', false)
                  im.Checkbox("Span Road Length###" .. tostring(wCtr), layer.isSpanLong)
                  wCtr = wCtr + 1
                  im.NextColumn()
                  im.Checkbox("Finish Before Ends###" .. tostring(wCtr), layer.isPaint)
                  wCtr = wCtr + 1
                  im.TextColored(cols.greenB, 'General Properties:')
                  im.Checkbox("Reverse###" .. tostring(wCtr), layer.isReverse)
                  wCtr = wCtr + 1
                im.Columns(2, 'singleMeshUnitTopRowCols', false)
                im.Checkbox("Span Road Length###" .. tostring(wCtr), layer.isSpanLong)
                wCtr = wCtr + 1

                im.Checkbox("Attach To Left/Right###" .. tostring(wCtr), layer.isLeft)
                wCtr = wCtr + 1

                im.Checkbox("Use World Z-Value###" .. tostring(wCtr), layer.useWorldZ)
                wCtr = wCtr + 1

                im.Checkbox("Attach To Left/Right###" .. tostring(wCtr), layer.isLeft)
                wCtr = wCtr + 1
              im.PushItemWidth(-150)
              im.Checkbox("Left Side###" .. tostring(wCtr), profile[selSW].isLeftSide)
              wCtr = wCtr + 1
        if im.TreeNode1("Render Options") then
          im.Checkbox('isOverObject Flag', road.isOverObject)
          im.tooltip("All decals created by this road will have the 'isOverObjects' flag set true (checked), or set false (unchecked).")
          im.Columns(2, 'jctSidewalkCols_row2', false)
          if im.Checkbox("Sidewalk###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isSidewalk[0] then
            if im.Checkbox("Low Corners###" .. tostring(wCtr), selJct.isLowerSWAtPedX) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Light Parameters:')
          if im.Checkbox("Include Traffic Lights###" .. tostring(wCtr), selJct.isTLights) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Pedestrian Crossing Parameters:')
          if im.Checkbox("Ped X###" .. tostring(wCtr), selJct.isPedX1) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.Checkbox("Is Y One-Way###" .. tostring(wCtr), selJct.isYOneWay) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
            im.Columns(2, 'crossroadsYDirCols1', false)
            if im.Checkbox("Y1 Out/In###" .. tostring(wCtr), selJct.isY1Outwards) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
            im.NextColumn()
            if im.Checkbox("Y2 Out/In###" .. tostring(wCtr), selJct.isY2Outwards) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'jctSidewalkCols_row2', false)
          if im.Checkbox("Sidewalk###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isSidewalk[0] then
            if im.Checkbox("Low Corners###" .. tostring(wCtr), selJct.isLowerSWAtPedX) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Light Parameters:')
          if im.Checkbox("Traffic Lights###" .. tostring(wCtr), selJct.isTLights) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(4, 'jctPedXCheckboxesCols1', false)
          if im.Checkbox("PX 1###" .. tostring(wCtr), selJct.isPedX1) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 2###" .. tostring(wCtr), selJct.isPedX2) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 3###" .. tostring(wCtr), selJct.isPedX3) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 4###" .. tostring(wCtr), selJct.isPedX4) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'arrowCols1', false)
          if im.Checkbox("Front Arrows###" .. tostring(wCtr), selJct.isArrow) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isArrow[0] then
            if im.Checkbox("Rear Arrows###" .. tostring(wCtr), selJct.isDoubleArrows) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.Checkbox("Is Y One-Way###" .. tostring(wCtr), selJct.isYOneWay) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isYOneWay[0] then
            if im.Checkbox("Outwards/Inwards###" .. tostring(wCtr), selJct.isY2Outwards) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'jctSidewalkCols_row2', false)
          if im.Checkbox("Sidewalk###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isSidewalk[0] then
            if im.Checkbox("Low Corners###" .. tostring(wCtr), selJct.isLowerSWAtPedX) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Light Parameters:')
          if im.Checkbox("Include Traffic Lights###" .. tostring(wCtr), selJct.isTLights) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(3, 'jctPedXCheckboxesCols1', false)
          if im.Checkbox("PX 1###" .. tostring(wCtr), selJct.isPedX1) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 2###" .. tostring(wCtr), selJct.isPedX2) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 3###" .. tostring(wCtr), selJct.isPedX3) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'arrowCols1', false)
          if im.Checkbox("Front Arrows###" .. tostring(wCtr), selJct.isArrow) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isArrow[0] then
            if im.Checkbox("Back Arrows###" .. tostring(wCtr), selJct.isDoubleArrows) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Sidewalk Parameters:')
          if im.Checkbox("Include Sidewalks###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Light Parameters:')
          if im.Checkbox("Include Traffic Lights###" .. tostring(wCtr), selJct.isTLights) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(3, 'jctPedXCheckboxesCols1', false)
          if im.Checkbox("PX 1###" .. tostring(wCtr), selJct.isPedX1) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 2###" .. tostring(wCtr), selJct.isPedX2) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 3###" .. tostring(wCtr), selJct.isPedX3) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'arrowCols1', false)
          if im.Checkbox("Front Arrows###" .. tostring(wCtr), selJct.isArrow) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isArrow[0] then
            if im.Checkbox("Rear Arrows###" .. tostring(wCtr), selJct.isDoubleArrows) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'jctSidewalkCols_row2', false)
          if im.Checkbox("Sidewalk###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isSidewalk[0] then
            if im.Checkbox("Low Corners###" .. tostring(wCtr), selJct.isLowerSWAtPedX) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Light Parameters:')
          if im.Checkbox("Include Traffic Lights###" .. tostring(wCtr), selJct.isTLights) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(4, 'jctPedXCheckboxesCols1', false)
          if im.Checkbox("PX 1###" .. tostring(wCtr), selJct.isPedX1) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 2###" .. tostring(wCtr), selJct.isPedX2) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 3###" .. tostring(wCtr), selJct.isPedX3) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("PX 4###" .. tostring(wCtr), selJct.isPedX4) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'arrowCols1', false)
          if im.Checkbox("Front Arrows###" .. tostring(wCtr), selJct.isArrow) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isArrow[0] then
            if im.Checkbox("Rear Arrows###" .. tostring(wCtr), selJct.isDoubleArrows) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'setYDirCols1', false)
          if im.Checkbox("Is Y One-Way###" .. tostring(wCtr), selJct.isYOneWay) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          if selJct.isYOneWay[0] then
            if im.Checkbox("Direction###" .. tostring(wCtr), selJct.isY1Outwards) then
              jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Sidewalk Parameters:')
          if im.Checkbox("Include Sidewalks###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'crashBarrierCols1', false)
          if im.Checkbox("Inner Barriers###" .. tostring(wCtr), selJct.isBarriersI) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("Outer Barriers###" .. tostring(wCtr), selJct.isBarriersO) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Sidewalk Parameters:')
          if im.Checkbox("Include Sidewalks###" .. tostring(wCtr), selJct.isSidewalk) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'crashBarrierCols1', false)
          if im.Checkbox("Inner Barriers###" .. tostring(wCtr), selJct.isBarriersI) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("Outer Barriers###" .. tostring(wCtr), selJct.isBarriersO) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.Columns(2, 'crashBarrierCols1', false)
          if im.Checkbox("Inner Barriers###" .. tostring(wCtr), selJct.isBarriersI) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("Outer Barriers###" .. tostring(wCtr), selJct.isBarriersO) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Traffic Sign Parameters:')
          if im.Checkbox("Include Traffic Signs###" .. tostring(wCtr), selJct.isSigns) then
            jctMgr.updateJunctionAfterChange(selJctIdx)

          if im.Checkbox("Direction###" .. tostring(wCtr), selJct.isY1Outwards) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.TextColored(cols.greenB, 'Tread Overlay Parameters:')
          if im.Checkbox("Include Tread Overlays###" .. tostring(wCtr), selJct.isCrossings) then
            jctMgr.updateJunctionAfterChange(selJctIdx)
          im.NextColumn()
          if im.Checkbox("Show", terraParams.isShowGroup) then
            if terraParams.isShowGroup[0] then
      im.TextColored(cols.greenB, 'Disk Options:')
      im.Checkbox('Load Terrains With Sessions', isLoadTerrain)
      im.tooltip('On loading a session, the saved terrain (.png) file will also be loaded to the map (checked), otherwise only the road network data will be loaded (unchecked).')

      if im.Checkbox("Offset To Terrain", importO2T) then
        if importO2T[0] then

      if im.Checkbox("Use Custom Offset", importCO) then
        if importCO[0] then
      if terrain then
        im.Checkbox("Terraform Terrain To Import", importTT2I)
        im.tooltip('Terraform the terrain to fit the imported road network.')
@/lua/ge/extensions/util/screenshotCreator.lua

      im.Checkbox("Generate missing thumbnails only", ctrls.generateMissingThumbnailsOnly)
      if im.IsItemHovered() then im.BeginTooltip() im.Text("Checks if the thumbnail file is missing. A blank/white thumbnail is not a missing thumbnail") im.EndTooltip() end
      im.SameLine()
      im.Checkbox("Reload UI when run is finished", ctrls.reloadUIOnJobFinished)
      if im.IsItemHovered() then im.BeginTooltip() im.Text("If not, opening the vehicle menu after updating the thumbnails, won't show the new thumbnails") im.EndTooltip() end

        im.Checkbox("Keep aspect ratio on manual resolution change", ctrls.keepAspectRatio)
                    local enabledPtr = im.BoolPtr(cameraConfigs.vehCamConfig.configCamEnabled)
                    if im.Checkbox("##"..configData.key, enabledPtr) then
                      cameraConfigs.vehCamConfig.configCamEnabled = enabledPtr[0]
                    local enabledPtr = im.BoolPtr(cameraConfigs.vehCamConfig.modelCamEnabled)
                    if im.Checkbox("##"..configData.key..".", enabledPtr) then
                      cameraConfigs.vehCamConfig.modelCamEnabled = enabledPtr[0]
                local enabledPtr = im.BoolPtr(cameraConfigs.vehCamConfig.configCamEnabled)
                if im.Checkbox("Enabled", enabledPtr) then
                  cameraConfigs.vehCamConfig.configCamEnabled = enabledPtr[0]
                  local enabledPtr = im.BoolPtr(cameraConfigs.vehCamConfig.modelCamEnabled)
                  if im.Checkbox("Enabled", enabledPtr) then
                    cameraConfigs.vehCamConfig.modelCamEnabled = enabledPtr[0]
@/lua/ge/extensions/editor/assetManagementTool.lua

          if imgui.Checkbox("##select" .. tostring(mapping.recordIndex), selectRecordBoolPtr) then
            if selectRecordBoolPtr[0] then

  if imgui.Checkbox("Recursive##recursiveDuplicateSearch", recursiveDuplicateSearchPtr) then
  end

  if imgui.Checkbox("Skip " .. newPathNotSetString .. " target paths (otherwise show error if any present in the list)##skipUnnamedTargetPaths", skipUnnamedTargetPathsPtr) then
  end

  if imgui.Checkbox("Recursive##recursiveNamingSearch", recursiveNamingSearchPtr) then
  end
@/lua/ge/extensions/editor/flowgraph/projectSettings.lua
  im.NextColumn()
  if im.Checkbox("##isScenario",im.BoolPtr(self.mgr.isScenario)) then
    self.mgr.isScenario = not self.mgr.isScenario
@/lua/ge/extensions/editor/visualization.lua
          nItems = nItems + 1
          if im.Checkbox(type.displayName, active) then
            editor.setVisualizationType(type.name, active[0])
          nItems = nItems + 1
          if im.Checkbox(name, visible) then
            editor.setObjectTypeVisible(name, visible[0])
          nItems = nItems + 1
          if im.Checkbox(name, selectable) then
            editor.setObjectTypeSelectable(name, selectable[0])
@/lua/common/extensions/ui/flowgraph/editor.lua
    end
    if im.Checkbox("##input" .. name, imVal) then
      if displayOptions.allowEditing then
          local fixedTypeBool = im.BoolPtr(variable.fixedType or false)
          if im.Checkbox("##fix" .. name, fixedTypeBool) then
            source:setFixedType(name, fixedTypeBool[0])
        local monitor = im.BoolPtr(variable.monitored or false)
        if im.Checkbox("##monitor" .. name, monitor) then
          source:setMonitor(name, monitor[0])
        local stop = im.BoolPtr(variable.keepAfterStop or false)
        if im.Checkbox("##keepAfterStop" .. name, stop) then
          source:setKeepAfterStop(name, stop[0])
@/lua/ge/extensions/editor/gen/ui.lua

  if im.Checkbox("##" .. lbl, ptr) then
--    lo('?? check:'..tostring(ptr[0])..':'..tostring(env))
						im.SameLine()
						if im.Checkbox("Yellow", middleYellow)  then
							D.ui.middleYellow = middleYellow[0] and true or false
						im.SameLine()
						if not D.ui.middleYellow and im.Checkbox("Dashed", middleDashed) then
							D.ui.middleDashed = middleDashed[0] and true or false
@/lua/ge/extensions/editor/renderTest.lua
    if im.Button('3d') then mode = '3d' end im.SameLine()
    if im.Checkbox('Ortho', ortho) then end im.SameLine()
    if im.Checkbox('render Main', renderMain) then
    if im.Checkbox('Ortho', ortho) then end im.SameLine()
    if im.Checkbox('render Main', renderMain) then
      setRenderWorldMain(renderMain[0])
    im.SameLine()
    if im.Checkbox('attach', attachToObject) then end
    im.SameLine()
@/lua/ge/extensions/core/vehicleMirrors.lua
    im.SliderFloat("updateRate", updateTime, 0, 1)
    im.Checkbox("debug", showDebug)
  end
@/lua/ge/extensions/editor/rallyEditor.lua
        local ptr = im.BoolPtr(loopLoaded or false)
        if im.Checkbox('RallyLoop Extension', ptr) then
          if ptr[0] then
@/lua/ge/extensions/editor/sensorConfigurationEditor.lua
  local ptr = im.BoolPtr(sensor.forceGimbals)
  im.Checkbox("Show gizmo", ptr)
  im.Separator()
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Color Image", uiVal)
        im.tooltip('Toggle whether to include the colour image in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Class Annotations", uiVal)
        im.tooltip('Toggle whether to include class annotations (segmentation) in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Instance Annotations", uiVal)
        im.tooltip('Toggle whether to include instance annotations (segmentation) in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Depth Image", uiVal)
        im.tooltip('Toggle whether to include the depth image in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Snap To Vehicle", uiVal)
        im.tooltip('Toggle whether to snap the sensor to the vehicle mesh, on creation.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Include Segmentation Data", uiVal)
        im.tooltip('Toggle whether to include segmentation info (semantic annotations).')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Snap To Vehicle", uiVal)
        im.tooltip('Toggle whether to snap the sensor to the vehicle mesh, on creation.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Snap To Vehicle", uiVal)
        im.tooltip('Toggle whether to snap the sensor to the vehicle mesh, on creation.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Snap To Vehicle", uiVal)
        im.tooltip('Toggle whether to snap the sensor to the vehicle mesh, on creation.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Include Gravity", uiVal)
        im.tooltip('Toggle whether to include gravity in the readings, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Snap To Vehicle", uiVal)
        im.tooltip('Toggle whether to snap the sensor to the vehicle mesh, on creation.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Allow Wheel Nodes (On Snap)", uiVal)
        im.tooltip('Toggle whether to allow attachment to wheel nodes, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Snap To Vehicle", uiVal)
        im.tooltip('Toggle whether to snap the sensor to the vehicle mesh, on creation.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Allow Wheel Nodes (On Snap)", uiVal)
        im.tooltip('Toggle whether to allow attachment to wheel nodes, or not.')
@/lua/ge/extensions/editor/biomeTool.lua
    imgui.SetCursorPosX(posX + textSize + 5)
    if imgui.Checkbox("##fieldPlacementEnabled", var.fieldPlacementBoolPtr) then
      setFieldPlacement(layerType, layerID, var.fieldPlacementBoolPtr[0])
  imgui.SetCursorPosX(firstWidgetPos)
  if imgui.Checkbox("##edgePlacementEnabled", var.edgePlacementBoolPtr) then
    local itemFound = false
    fieldPlacementBoolPtr[0] = getFieldPlacement(customData.layerType, customData.layerID)
    if imgui.Checkbox("##fieldPlacementEnabled", fieldPlacementBoolPtr) then
      setFieldPlacement(customData.layerType, customData.layerID, fieldPlacementBoolPtr[0])
@/lua/ge/extensions/editor/crawlEditor/paths.lua
    local isRecoveryCheckpoint = im.BoolPtr(self.currentPathnode.flags.isRecoveryCheckpoint or false)
    if im.Checkbox("Is Recovery Checkpoint", isRecoveryCheckpoint) then
      self.currentPathnode.flags.isRecoveryCheckpoint = isRecoveryCheckpoint[0]
    local isBonusCheckpoint = im.BoolPtr(self.currentPathnode.flags.isBonusCheckpoint or false)
    if im.Checkbox("Is Bonus Checkpoint", isBonusCheckpoint) then
      self.currentPathnode.flags.isBonusCheckpoint = isBonusCheckpoint[0]
@/lua/ge/extensions/editor/sensorDebugger.lua
      im.Text(tech_sensors.getCameraSensorName(cam.id))
      if im.Checkbox("Visualize##" .. cam.id, cam.visualize) then
        tech_cameraPreview.changeCamDebugState(cam)
@/lua/ge/extensions/flowgraph/nodes/types/genericValue.lua
  local global = im.BoolPtr(self.global)
  if im.Checkbox("Use Project as Source##".. self.id, global) then
    self.global = global[0]
  local getter = im.BoolPtr(self.getter)
  if im.Checkbox("Is Getter##".. self.id, getter) then
    self.getter = getter[0]
@/lua/ge/extensions/editor/flowgraph/properties.lua
    end
    if im.Checkbox("##input" .. path, cdata[path]) then
      saveCallback(savePath, cdata[path][0])
@/lua/ge/extensions/editor/resourceChecker.lua
    local skipCommonEnabled = im.BoolPtr(skipCommon)
    if im.Checkbox("Skip common folders", skipCommonEnabled) then
      skipCommon = skipCommonEnabled[0]
@/lua/ge/extensions/editor/missionEditor/prefabs.lua
  if #self.filenames > 0 then
    if im.Checkbox("Requires collision reload", self.prefabsRequireCollisionReload) then
      self.mission.prefabsRequireCollisionReload = self.prefabsRequireCollisionReload[0]
@/lua/ge/extensions/editor/meshSpline.lua
          local tmpPtr = im.BoolPtr(selSpline.isAlias1)
          if im.Checkbox("###87651", tmpPtr) then
            selSpline.isAlias1 = tmpPtr[0]
          tmpPtr = im.BoolPtr(selSpline.isAlias2)
          if im.Checkbox("###87652", tmpPtr) then
            selSpline.isAlias2 = tmpPtr[0]
          tmpPtr = im.BoolPtr(selSpline.isAlias3)
          if im.Checkbox("###87653", tmpPtr) then
            selSpline.isAlias3 = tmpPtr[0]
          tmpPtr = im.BoolPtr(selSpline.isStartCap)
          if im.Checkbox("###8765", tmpPtr) then
            selSpline.isStartCap = tmpPtr[0]
          tmpPtr = im.BoolPtr(selSpline.isEndCap)
          if im.Checkbox("###8766", tmpPtr) then
            selSpline.isEndCap = tmpPtr[0]
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veView.lua
    end
    if im.Checkbox('Ortho', view.ortho) or changedOrtho then
      if view.ortho[0] then
    end
    if im.Checkbox('Render Main', renderMain) then
      setRenderWorldMain(renderMain[0])
    end
    if im.Checkbox('Attach to Object', view.attachToObject) then saveSettings() end
    if im.Checkbox('Show Icons', view.editorIconsVisible) then saveSettings() end
    if im.Checkbox('Attach to Object', view.attachToObject) then saveSettings() end
    if im.Checkbox('Show Icons', view.editorIconsVisible) then saveSettings() end
    im.PushItemWidth(100)
@/lua/ge/extensions/editor/assemblySpline.lua
                  tmpPtr = im.BoolPtr(mol.getRigidEnabled(selSpline, mesh.id))
                  if im.Checkbox("###rigid" .. tostring(49925 + rigidIdx), tmpPtr) then
                    local preState = splineMgr.deepCopyAssemblySpline(selSpline)
                  local varTmpPtr = im.BoolPtr(mol.getRigidEnabled(selSpline, variation.id))
                  if im.Checkbox("###rigidVar" .. tostring(49925 + rigidIdx) .. "_" .. tostring(j), varTmpPtr) then
                    local preState = splineMgr.deepCopyAssemblySpline(selSpline)
                tmpPtr = im.BoolPtr(mol.getBridgeEnabled(selSpline, mesh.id))
                if im.Checkbox("###bridge" .. tostring(49925 + i), tmpPtr) then
                  local preState = splineMgr.deepCopyAssemblySpline(selSpline)
                  local varTmpPtr = im.BoolPtr(mol.getBridgeEnabled(selSpline, variation.id))
                  if im.Checkbox("###bridgeVar" .. tostring(49925 + i) .. "_" .. tostring(j), varTmpPtr) then
                    local preState = splineMgr.deepCopyAssemblySpline(selSpline)
@/lua/ge/extensions/editor/missionEditor/genericTypeData.lua
  self.rawCheckbox[0] = self.rawEditPerMission[self.mission.id] or false
  if im.Checkbox("Raw", self.rawCheckbox) then
    self.rawEditPerMission[self.mission.id] = self.rawCheckbox[0]
@/lua/ge/extensions/util/groundModelDebug.lua

    im.Checkbox("Ground", groundDebug) im.SameLine()
    im.Checkbox("Depth", depthDebug) im.SameLine()
    im.Checkbox("Ground", groundDebug) im.SameLine()
    im.Checkbox("Depth", depthDebug) im.SameLine()
    if im.Checkbox("Static", staticDebug) then
    im.Checkbox("Depth", depthDebug) im.SameLine()
    if im.Checkbox("Static", staticDebug) then
      Engine.setStaticColDebugEnabled(staticDebug[0] or colDensityEnabled[0])
      im.Dummy(im.ImVec2(30,0)) im.SameLine()
      if im.Checkbox("Mouse Focus", mouseFocus) then serializeSettings() end
      im.PushItemWidth(60)

    if im.Checkbox("Coltris/m² (freezes on click to build cache)", colDensityEnabled) then
      Engine.setStaticColDebugEnabled(staticDebug[0] or colDensityEnabled[0])
      im.SliderFloat("Color threshold", colDensityThreshold, 1, 100, "%.0f coltris/m²")
      if im.Checkbox("Render labels", colDensityShowText) then
        serializeSettings()
          im.SetCursorPosX(15)
          if im.Checkbox('', groundModels[k].active) then
            if #v.aliases > 0 then
            end
            if im.Checkbox("skidMarks", v.cdata.skidMarks) then
              setValue(k, v, 'skidMarks', v.cdata.skidMarks[0])
@/lua/ge/extensions/editor/rallyEditor/recceTab.lua

  if im.Checkbox("Show Labels (click to copy)", im.BoolPtr(self.drawLabels)) then
    self.drawLabels = not self.drawLabels
@/lua/ge/extensions/editor/sceneView.lua
        end
        if im.Checkbox('Ortho', view.ortho) or changedOrtho then
          if view.ortho[0] then
        end
        if im.Checkbox('Render Main View', renderMain) then
          setRenderWorldMain(renderMain[0])
        end
        if im.Checkbox('Attach to object', view.attachToObject) then end
        if im.Checkbox('Show Icons', view.editorIconsVisible) then end
        if im.Checkbox('Attach to object', view.attachToObject) then end
        if im.Checkbox('Show Icons', view.editorIconsVisible) then end
        if im.Checkbox('Show Gizmo', view.editorGizmoVisible) then end
        if im.Checkbox('Show Icons', view.editorIconsVisible) then end
        if im.Checkbox('Show Gizmo', view.editorGizmoVisible) then end
        im.PushItemWidth(100)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTextView.lua
      end
      im.Checkbox("Scroll to selection", scrollToSelection)
      im.TextUnformatted(tostring(vEditor.selectedPart) .. ' - ')
    elseif nodeType == 'bool' then
      im.Checkbox('##nodeEditBoolInput', nodeEditBoolInput)
    end
@/lua/ge/extensions/editor/masterSpline.lua
              local tmpPtr = im.BoolPtr(selectedLayer.isFlip)
              if im.Checkbox("Flip Lateral", tmpPtr) then
                local preState = splineMgr.deepCopyMasterSpline(selSpline)
@/lua/ge/extensions/editor/engineAudioDebug.lua
      im.Separator()
      changed = im.Checkbox("Show exhaust direction", showExhaustDirection) or changed
      im.Separator()
@/lua/ge/extensions/editor/fileDialog.lua
          if column.lockedVisibility and column.lockedVisibility == true then im.BeginDisabled() end
          if im.Checkbox(column.name, getTempBool(column.visible)) then
            local value = getTempBool()
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
    var = im.BoolPtr(currData.enableFlashingLights)
    if im.Checkbox("Enable Flashing Lights Sequence", var) then
      currData.enableFlashingLights = var[0]
    var = im.BoolPtr(currSequence.startDisabled)
    if im.Checkbox("Start Disabled##sequence", var) then
      currSequence.startDisabled = var[0]
    var = im.BoolPtr(currSequence._advancedPhases)
    if im.Checkbox("Advanced Phase Start Times##sequence", var) then
      currSequence._advancedPhases = var[0]
      local val = im.BoolPtr(options.smartName)
      if im.Checkbox("Smart Naming", val) then
        options.smartName = val[0]
      val = im.BoolPtr(options.smartObjectSelection)
      if im.Checkbox("Smart Object Selection Mode", val) then
        options.smartObjectSelection = val[0]
      val = im.BoolPtr(options.showClosestRoad)
      if im.Checkbox("Draw Closest Road Segment", val) then
        options.showClosestRoad = val[0]
@/lua/ge/extensions/ui/messagesDebugger.lua

    if im.Checkbox("Bypass TTL (UI)", bypassTtl) then
      guihooks.trigger("MessagesDebug", { bypassTtl = bypassTtl[0] })
    im.Separator()
    im.Checkbox("Regex clear", useRegexClear)
    im.SameLine()
@/lua/ge/extensions/editor/driftDataEditor.lua
    end
    im.Checkbox("Raw data", rawData)
    if rawData[0] then
@/lua/ge/extensions/editor/mapSensorEditor.lua
    local ptr = im.BoolPtr(sensor.forceGimbals)
    im.Checkbox("Show gizmo", ptr)
    im.Separator()
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Color Image", uiVal)
        im.tooltip('Toggle whether to include the colour image in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Class Annotations", uiVal)
        im.tooltip('Toggle whether to include class annotations (segmentation) in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Instance Annotations", uiVal)
        im.tooltip('Toggle whether to include instance annotations (segmentation) in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Render Depth Image", uiVal)
        im.tooltip('Toggle whether to include the depth image in output.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Include Segmentation Data", uiVal)
        im.tooltip('Toggle whether to include segmentation info (semantic annotations).')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
        local uiVal = im.BoolPtr(oldVal)
        im.Checkbox("Visualise On Map", uiVal)
        im.tooltip('Toggle whether to visualise the sensor, or not.')
@/lua/ge/extensions/gameplay/rally/tools/devTools.lua
      local showPointsPtr = im.BoolPtr(self.pacenotesTools.showDrivelinePoints)
      if im.Checkbox("Show Driveline in 3D", showPointsPtr) then
        self.pacenotesTools.showDrivelinePoints = showPointsPtr[0]
      local showPointsPtr = im.BoolPtr(self.pacenotesTools.showElevationProfilePoints)
      if im.Checkbox("Show Points in 3D", showPointsPtr) then
        self.pacenotesTools.showElevationProfilePoints = showPointsPtr[0]
@/lua/ge/extensions/editor/sidewalkSpline.lua
              tmpPtr = im.BoolPtr(isEnabled)
              if im.Checkbox("###piece_" .. tostring(pieceIndex), tmpPtr) then
                preState = splineMgr.deepCopySidewalkSpline(selSpline)
                  local varTmpPtr = im.BoolPtr(varEnabled)
                  if im.Checkbox("###pieceVar_" .. tostring(pieceIndex) .. "_" .. tostring(j), varTmpPtr) then
                    preState = splineMgr.deepCopySidewalkSpline(selSpline)
@/lua/ge/extensions/editor/rallyEditor/measurementsTab.lua
      local followRoute = im.BoolPtr(selectedMeasurement.followRoute)
      if im.Checkbox("Follow Route", followRoute) then
        selectedMeasurement.followRoute = followRoute[0]
@/lua/ge/extensions/editor/gen/lib/ui.lua

  if im.Checkbox("##" .. lbl, ptr) then
--    lo('?? check:'..tostring(ptr[0])..':'..tostring(env))

  if im.Checkbox("##" .. lbl, ptr) then
--    lo('?? check:'..tostring(ptr[0])..':'..tostring(env))
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
          local enabled = meshes == nil or tableContains(meshes, name)
          if im.Checkbox(string.format("##%s_shapeMesh_%d_checkbox", widgetId, i), editor.getTempBool_BoolBool(enabled)) then
            setMeshEnable(name, editor.getTempBool_BoolBool())
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "useSurfaceNormal"), editor.getTempBool_BoolBool(layer.useSurfaceNormal)) then
    layer.useSurfaceNormal = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapAlphaMaskX"), editor.getTempBool_BoolBool(layer.wrapAlphaMaskX)) then
    layer.wrapAlphaMaskX = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapAlphaMaskY"), editor.getTempBool_BoolBool(layer.wrapAlphaMaskY)) then
    layer.wrapAlphaMaskY = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapColorTextureX"), editor.getTempBool_BoolBool(layer.wrapColorTextureX)) then
    layer.wrapColorTextureX = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapColorTextureY"), editor.getTempBool_BoolBool(layer.wrapColorTextureY)) then
    layer.wrapColorTextureY = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "alphaMaskInvert"), editor.getTempBool_BoolBool(layer.alphaMaskInvert)) then
    layer.alphaMaskInvert = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "sdfEnabled"), editor.getTempBool_BoolBool(layer.sdfEnabled)) then
    layer.sdfEnabled = editor.getTempBool_BoolBool()
    im.SameLine()
    if im.Checkbox("##dynDecals_decal_doNotShowSdfIntroAgainCheckbox", editor.getTempBool_BoolBool(editor.getPreference("dynamicDecalsTool.decalProperties.doNotShowSdfIntroAgain"))) then
      editor.setPreference("dynamicDecalsTool.decalProperties.doNotShowSdfIntroAgain", editor.getTempBool_BoolBool())

  if im.Checkbox("Project using surface normal", editor.getTempBool_BoolBool(api.getUseSurfaceNormal())) then
    api.setUseSurfaceNormal(editor.getTempBool_BoolBool())
    local enabled = api.isWrapColorTextureXEnabled()
    if im.Checkbox(string.format("##%s_%s_checkbox", guiId, api.settingsFlags.WrapColorTextureX.name), editor.getTempBool_BoolBool(enabled)) then
      api.toggleSetting(api.settingsFlags.WrapColorTextureX.value)
    enabled = api.isWrapColorTextureYEnabled()
    if im.Checkbox(string.format("##%s_%s_checkbox", guiId, api.settingsFlags.WrapColorTextureY.name), editor.getTempBool_BoolBool(enabled)) then
      api.toggleSetting(api.settingsFlags.WrapColorTextureY.value)
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/brushStroke.lua
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "enabled"), editor.getTempBool_BoolBool(layer.enabled)) then
    layer.enabled = editor.getTempBool_BoolBool()
    im.NextColumn()
    if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "decalUseGradientColor"), editor.getTempBool_BoolBool(layer.decalUseGradientColor)) then
      layer.decalUseGradientColor = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "mirrored"), editor.getTempBool_BoolBool(layer.mirrored)) then
    layer.mirrored = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "flipMirroredDecal"), editor.getTempBool_BoolBool(layer.flipMirroredDecal)) then
    layer.flipMirroredDecal = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapAlphaMaskX"), editor.getTempBool_BoolBool(layer.wrapAlphaMaskX)) then
    layer.wrapAlphaMaskX = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapAlphaMaskY"), editor.getTempBool_BoolBool(layer.wrapAlphaMaskY)) then
    layer.wrapAlphaMaskY = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapColorTextureX"), editor.getTempBool_BoolBool(layer.wrapColorTextureX)) then
    layer.wrapColorTextureX = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "wrapColorTextureY"), editor.getTempBool_BoolBool(layer.wrapColorTextureY)) then
    layer.wrapColorTextureY = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "alphaMaskInvert"), editor.getTempBool_BoolBool(layer.alphaMaskInvert)) then
    layer.alphaMaskInvert = editor.getTempBool_BoolBool()
@/lua/ge/extensions/editor/missionEditor/additionalAttributes.lua
  im.NextColumn()
  if im.Checkbox("Is Available as Scenario", im.BoolPtr(self.mission.isAvailableAsScenario or false)) then
    self.mission.isAvailableAsScenario = not self.mission.isAvailableAsScenario
  im.NextColumn()
  if im.Checkbox("DEV mission", im.BoolPtr(self.mission.devMission or false)) then
    self.mission.devMission = not self.mission.devMission
@/lua/ge/extensions/editor/rallyEditor/pacenotes/structuredForm.lua
  local curr = pacenote.structured.fields[fieldName] or default
  if im.Checkbox(uiLabel, im.BoolPtr(curr)) then
    pacenote.structured.fields[fieldName] = not curr

  if im.Checkbox("Lock to Manual Edit", im.BoolPtr(pacenote.lockToManualEdit)) then
    pacenote.lockToManualEdit = not pacenote.lockToManualEdit
  local curr = pacenote.structured.fields.finishLine or default
  if im.Checkbox("Finish Line", im.BoolPtr(curr)) then
    pacenote.structured.fields.finishLine = not curr
@/lua/ge/extensions/editor/crawlEditor/waypoints.lua
  local isRecovery = im.BoolPtr(pathnode.isRecovery or false)
  if im.Checkbox("Is Recovery Point", isRecovery) then
    editor.history:commitAction("Change Pathnode Recovery Status",
@/lua/ge/extensions/gameplay/rally/tools/loopToolbox.lua
  im.TextColored(colorYellow, "Draw Settings")
  if im.Checkbox("Route", self.drawRoute) then
    self:saveSettings()
  im.SameLine()
  if im.Checkbox("Labels", self.drawLabels) then
    self:saveSettings()
  im.SameLine()
  if im.Checkbox("Z On Top", self.drawZOnTop) then
    self:saveSettings()
  im.SameLine()
  if im.Checkbox("Signboards", self.drawSignboards) then
    local count = self:findSignboards()
  end
  -- if im.Checkbox("Vehicle BB", self.drawVehBB) then
  --   self:saveSettings()
  -- im.SameLine()
  -- if im.Checkbox("Leading Point", self.drawLeadingPoint) then
  --   self:saveSettings()
  im.SameLine()
  if im.Checkbox("Stop Zones", self.drawStopZones) then
    gameplay_rallyLoop.setDrawFlag('stopZones', self.drawStopZones[0])
  im.SameLine()
  if im.Checkbox("Show Debug Info", self.showDebugInfo) then
    gameplay_rallyLoop.setDrawFlag('showDebugInfo', self.showDebugInfo[0])
@/lua/ge/extensions/flowgraph/nodes/gameplay/vehiclePool/createPool.lua
  local var = im.BoolPtr(self.data.keepVehicles and true or false)
  if im.Checkbox('Keep Inactive Vehicles', var) then
    self.data.keepVehicles = var[0]
@/lua/ge/extensions/editor/raceEditor.lua
        local ptr = im.BoolPtr(editor.getPreference("raceEditor.general.directionalNodes"))
        if im.Checkbox('Directional Nodes', ptr) then
          editor.setPreference("raceEditor.general.directionalNodes", ptr[0])
        local ptr2 = im.BoolPtr(editor.getPreference("raceEditor.general.showAiRoute") or false)
        if im.Checkbox('Show AI Route', ptr2) then
          editor.setPreference("raceEditor.general.showAiRoute", ptr2[0])
        local ptr3 = im.BoolPtr(editor.getPreference("raceEditor.general.showCustomFields") or false)
        if im.Checkbox('Show Custom Fields', ptr3) then
          editor.setPreference("raceEditor.general.showCustomFields", ptr3[0])
        local ptr4 = im.BoolPtr(editor.getPreference("raceEditor.general.useSimpleDrag") or false)
        if im.Checkbox('Use Simple Drag', ptr4) then
          editor.setPreference("raceEditor.general.useSimpleDrag", ptr4[0])
@/lua/ge/extensions/ui/apps/minimap/minimap.lua
        else
          if im.Checkbox(key, im.BoolPtr(debugSettings[key])) then
            debugSettings[key] = not debugSettings[key]
@/lua/ge/extensions/gameplay/rally/tools/rallyToolbox.lua
  boolPtr = im.BoolPtr(self.debug.drawRacePath)
  if im.Checkbox("Pathnodes##debugDrawRacePath", boolPtr) then
    self.debug.drawRacePath = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRaceAiRoute)
  if im.Checkbox("AI Route##debugDrawRaceAiRoute", boolPtr) then
    self.debug.drawRaceAiRoute = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRaceSplits)
  if im.Checkbox("Splits##debugDrawRaceSplits", boolPtr) then
    self.debug.drawRaceSplits = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawVehicleTracker)
  if im.Checkbox("Vehicle Tracker##debugDrawVehicleTracker", boolPtr) then
    self.debug.drawVehicleTracker = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawStartFinishLines)
  if im.Checkbox("Start and Finish Lines##debugDrawStartFinishLines", boolPtr) then
    self.debug.drawStartFinishLines = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawStopZone)
  if im.Checkbox("Stop Zone##debugDrawStopZone", boolPtr) then
    self.debug.drawStopZone = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRaceCurrentSeg)
  if im.Checkbox("Current Segment##debugDrawRaceCurrentSeg", boolPtr) then
    self.debug.drawRaceCurrentSeg = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawNotebookPacenotes)
  if im.Checkbox("Pacenotes##debugDrawNotebookPacenotes", boolPtr) then
    self.debug.drawNotebookPacenotes = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawReccePacenotes)
  if im.Checkbox("Recce Pacenotes##debugDrawReccePacenotes", boolPtr) then
    self.debug.drawReccePacenotes = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawDrivelineRoute)
  if im.Checkbox("Route##debugDrawDrivelineRoute", boolPtr) then
    self.debug.drawDrivelineRoute = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawDrivelineRouteStatic)
  if im.Checkbox("StaticRoute##debugDrawDrivelineRouteStatic", boolPtr) then
    self.debug.drawDrivelineRouteStatic = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRouteShort)
  if im.Checkbox("Short##debugDrawRouteShort", boolPtr) then
    self.debug.drawRouteShort = boolPtr[0]
  -- end
  -- if im.Checkbox("PreRoute Points##debugPreRoutePoints", boolPtr) then
  --   self.debug.drawPreRoutePoints = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRouteCompletion)
  if im.Checkbox("Completion %##debugDrawRouteCompletion", boolPtr) then
    self.debug.drawRouteCompletion = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRoutePacenotes)
  if im.Checkbox("Pacenotes##debugDrawRoutePacenotes", boolPtr) then
    self.debug.drawRoutePacenotes = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRoutePacenoteText)
  if im.Checkbox("Pacenote Text##debugDrawRoutePacenoteText", boolPtr) then
    self.debug.drawRoutePacenoteText = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRouteNextPacenoteWpFromRecalc)
  if im.Checkbox("Next PacenoteWaypoint##debugDrawRouteNextPacenoteWp", boolPtr) then
    self.debug.drawRouteNextPacenoteWpFromRecalc = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRouteNextRacePathnodeFromRecalc)
  if im.Checkbox("Next Race Pathnode##debugDrawRouteNextRacePathnode", boolPtr) then
    self.debug.drawRouteNextRacePathnodeFromRecalc = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRoutePathnodes)
  if im.Checkbox("Pathnodes##debugDrawRoutePathnodes", boolPtr) then
    self.debug.drawRoutePathnodes = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRouteHiddenPathnodes)
  if im.Checkbox("Hidden Pathnodes##debugDrawRouteHiddenPathnodes", boolPtr) then
    self.debug.drawRouteHiddenPathnodes = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRoutePointI)
  if im.Checkbox("Point Index##debugDrawRoutePointI", boolPtr) then
    self.debug.drawRoutePointI = boolPtr[0]
  boolPtr = im.BoolPtr(self.debug.drawRoutePointMetadata)
  if im.Checkbox("Point Metadata##debugDrawRoutePointMetadata", boolPtr) then
    self.debug.drawRoutePointMetadata = boolPtr[0]
  -- boolPtr = im.BoolPtr(self.debug.drawRecceDrivelinePoints)
  -- if im.Checkbox("Recce Driveline Points##debugDrawRecceDrivelinePoints", boolPtr) then
  --   self.debug.drawRecceDrivelinePoints = boolPtr[0]
    boolPtr = im.BoolPtr(self.debug.drawSelectedWaypoint)
    if im.Checkbox("PacenoteWaypoint & Closest Segment##debugDrawSelectedWaypoint", boolPtr) then
      self.debug.drawSelectedWaypoint = boolPtr[0]
    boolPtr = im.BoolPtr(self.debug.drawKdTreeClosestRoutePoint)
    if im.Checkbox("Closest Route Point##debugDrawKdTreeClosestRoutePoint", boolPtr) then
      self.debug.drawKdTreeClosestRoutePoint = boolPtr[0]
    boolPtr = im.BoolPtr(self.debug.drawKdTreeNextPacenoteWp)
    if im.Checkbox("Next Pacenote Waypoint##debugDrawKdTreeNextPacenoteWp", boolPtr) then
      self.debug.drawKdTreeNextPacenoteWp = boolPtr[0]
    boolPtr = im.BoolPtr(self.debug.useMouseRayCast)
    if im.Checkbox("Use Mouse Ray Cast##debugUseMouseRayCast", boolPtr) then
      self.debug.useMouseRayCast = boolPtr[0]
    boolPtr = im.BoolPtr(self.debug.enableMouseRayCastMovement)
    if im.Checkbox("Enable Mouse Ray Cast Movement##debugEnableMouseRayCastMovement", boolPtr) then
      self.debug.enableMouseRayCastMovement = boolPtr[0]
@/lua/ge/extensions/editor/crawlEditor/boundaries.lua
  local topActive = im.BoolPtr(boundary.top.active)
  im.Checkbox("Top Limit", topActive)
  if topActive[0] ~= boundary.top.active then
  local botActive = im.BoolPtr(boundary.bot.active)
  im.Checkbox("Bottom Limit", botActive)
  if botActive[0] ~= boundary.bot.active then
@/lua/ge/extensions/editor/api/core.lua
    for name, _ in pairs(editor.dirtyTools) do
      if imgui.Checkbox(name, imgui.BoolPtr(dirtyToolsSaveInfo[name])) then
        dirtyToolsSaveInfo[name] = not dirtyToolsSaveInfo[name]
@/lua/ge/extensions/editor/mainToolbar.lua
    local relRotation = im.BoolPtr(editor.getPreference("snapping.terrain.relRotation"))
    if im.Checkbox("Keep relative rotation", relRotation) then
      editor.setPreference("snapping.terrain.relRotation", relRotation[0])
    local individual = im.BoolPtr(editor.getPreference("snapping.terrain.indObjects"))
    if im.Checkbox("Treat objects individually", individual) then
      editor.setPreference("snapping.terrain.indObjects", individual[0])
    local useRaycast = im.BoolPtr(editor.getPreference("snapping.terrain.useRayCast"))
    if im.Checkbox("Use raycast", useRaycast) then
      editor.setPreference("snapping.terrain.useRayCast", useRaycast[0])
    local useLastObject = im.BoolPtr(editor.getPreference("snapping.grid.useLastObjectSelected"))
    if im.Checkbox("Use the last object selected as the reference object", useLastObject) then
      editor.setPreference("snapping.grid.useLastObjectSelected", useLastObject[0])
@/lua/ge/extensions/flowgraph/nodes/types/string.lua
  local ml = im.BoolPtr(self.multiLine)
  if im.Checkbox("Multi Line", ml) then
    self.multiLine = ml[0]
@/lua/ge/extensions/tech/cameraPreview.lua
  if numImages > 1 then
    im.Checkbox("Horizontal layout", horizontalLayout)
  end
    im.BeginGroup()
    im.Checkbox("Color##" .. cam.id, cam.showColor)
    if cam.showColor[0] then
    im.BeginGroup()
    im.Checkbox("Annotation##" .. cam.id, cam.showAnnotation)
    if cam.showAnnotation[0] then
    im.BeginGroup()
    im.Checkbox("Depth##" .. cam.id, cam.showDepth)
    if cam.showDepth[0] then
@/lua/ge/extensions/render/openxr.lua
    changed = im.Combo2("2D screen view##openXRwindowViewMode", M.openXRwindowViewMode, "Empty (fastest)\0Between eyes (slowest)\0Reuse left eye\0Reuse right eye\0") or changed
    changed = im.Checkbox("Display user interface (CEF)", M.openXRuiEnabled) or changed
    im.Text("   ") im.SameLine()
    changed = im.Combo2("Anchor##openXRuiMode", M.openXRuiMode, "Room\0Head") or changed
    if im.Checkbox("UseQuadComposition", M.openXRquadCompositionEnabled) then
      changed = true
    local restartNeeded = false
    restartNeeded = im.Checkbox("Enable debug mode (reduced framerate, will restart OpenXR)", M.openXRdebugEnabled) or restartNeeded
    changed = changed or restartNeeded
@/lua/ge/extensions/editor/objectToSplineEditor.lua

    if im.Checkbox("Align to Terrain", useNormal) then _changed = true end

    im.Checkbox("Use New Folder", useSimGroup)

    im.Checkbox("Enable Random Offsets", allowRandom)
    if allowRandom[0] then
      im.SameLine()
      if im.Checkbox("Do Random Height", useRandomPosZ) then _changed = true end
      im.SameLine()
      if im.Checkbox("Do Random Tilt", useRandomRotXY) then _changed = true end

      if im.Checkbox("Use Gaussian Randomization", useGauss) then _changed = true end
    end

    if im.Checkbox("Use Position Correction", useAltMode) then _changed = true end
    im.tooltip("Enable this to improve placements of objects that have non-centered origins, such as some fences.")
@/lua/ge/extensions/editor/dragRaceEditor/strips.lua
  local endCameraPtr = im.BoolPtr(hasEndCamera)
  if im.Checkbox("Has End Camera", endCameraPtr) then
    if endCameraPtr[0] and not strip.endCamera then
@/lua/ge/extensions/c2/panelPlugins/tileManager.lua

      if im.Checkbox("Enable Debug Draw", p_enabled) then debugState.enabled = p_enabled[0] end
      if im.Checkbox("Load 3x3 Tiles", p_load3x3) then debugState.load3x3 = p_load3x3[0] end
      if im.Checkbox("Enable Debug Draw", p_enabled) then debugState.enabled = p_enabled[0] end
      if im.Checkbox("Load 3x3 Tiles", p_load3x3) then debugState.load3x3 = p_load3x3[0] end
      if debugState.enabled then
        if im.Checkbox("Draw Borders", p_drawBorders) then debugState.drawBorders = p_drawBorders[0] end
        if im.Checkbox("Draw Stats", p_drawStats) then debugState.drawStats = p_drawStats[0] end
        if im.Checkbox("Draw Borders", p_drawBorders) then debugState.drawBorders = p_drawBorders[0] end
        if im.Checkbox("Draw Stats", p_drawStats) then debugState.drawStats = p_drawStats[0] end
        if im.Checkbox("Draw Objects", p_drawObjects) then debugState.drawObjects = p_drawObjects[0] end
        if im.Checkbox("Draw Stats", p_drawStats) then debugState.drawStats = p_drawStats[0] end
        if im.Checkbox("Draw Objects", p_drawObjects) then debugState.drawObjects = p_drawObjects[0] end
        if debugState.drawObjects or debugState.drawForest then
           im.Indent()
           if im.Checkbox("Advanced (OBB)", p_drawObjectsAdvanced) then debugState.drawObjectsAdvanced = p_drawObjectsAdvanced[0] end
           im.Unindent()
        end
        if im.Checkbox("Draw Forest", p_drawForest) then debugState.drawForest = p_drawForest[0] end
        if im.Checkbox("Draw Decals", p_drawDecals) then debugState.drawDecals = p_drawDecals[0] end
        if im.Checkbox("Draw Forest", p_drawForest) then debugState.drawForest = p_drawForest[0] end
        if im.Checkbox("Draw Decals", p_drawDecals) then debugState.drawDecals = p_drawDecals[0] end
        if debugState.drawDecals then
           im.Indent()
           if im.Checkbox("Draw Text", p_drawDecalText) then debugState.drawDecalText = p_drawDecalText[0] end
           im.Unindent()
        end
        if im.Checkbox("Draw Road Markings", p_drawRoadMarkings) then debugState.drawRoadMarkings = p_drawRoadMarkings[0] end
        if debugState.drawRoadMarkings then
           im.Indent()
           if im.Checkbox("Draw Marking Nodes", p_drawRoadMarkingNodes) then debugState.drawRoadMarkingNodes = p_drawRoadMarkingNodes[0] end
           im.Unindent()
        end
        if im.Checkbox("Draw AI Graph", p_drawAIGraph) then debugState.drawAIGraph = p_drawAIGraph[0] end
        if debugState.drawAIGraph then
           im.Indent()
           if im.Checkbox("Advanced (Lanes)", p_drawAIGraphAdvanced) then debugState.drawAIGraphAdvanced = p_drawAIGraphAdvanced[0] end
           im.Unindent()
        end
        if im.Checkbox("Draw Tile Grid", p_drawTileGrid) then debugState.drawTileGrid = p_drawTileGrid[0] end
      end
@/lua/ge/extensions/gameplay/drag/debug.lua
          local isP = im.BoolPtr(vehicleData.isPlayable)
          im.Checkbox("Is Playable", isP)
          vehicleData.isPlayable = isP[0]
@/lua/ge/extensions/editor/roadSpline.lua
      local tmpPtr = im.BoolPtr(selGroup.isOverObjects or false)
      if im.Checkbox("Over Objects", tmpPtr) then
        local statePre = groupMgr.deepCopyGroup(selGroup)
          local tmpPtr = im.BoolPtr(selGroup.isLightTreadMarks)
          if im.Checkbox("Light", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isHeavyTreadMarks)
          if im.Checkbox("Heavy", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isRepair1)
          if im.Checkbox("Fix 1", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isRepair2)
          if im.Checkbox("Fix 2", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isDamageAsphalt1)
          if im.Checkbox("Wear 1", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isDamageAsphalt2)
          if im.Checkbox("Wear 2", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isPatches)
          if im.Checkbox("Patches", tmpPtr) then
            materialSelectionMgr.closeWindow()
          tmpPtr = im.BoolPtr(selGroup.isRoadCrack)
          if im.Checkbox("Cracks", tmpPtr) then
            materialSelectionMgr.closeWindow()
            local tmpPtr2 = im.BoolPtr(selectedLayer.isFlip)
            if im.Checkbox("Flip Lateral", tmpPtr2) then
              local preState = groupMgr.deepCopyGroup(selGroup)
            tmpPtr2 = im.BoolPtr(selectedLayer.isTrackWidth)
            if im.Checkbox("Track Width", tmpPtr2) then
              local preState = groupMgr.deepCopyGroup(selGroup)
@/lua/ge/extensions/flowgraph/nodes/util/closestPath.lua
function C:drawCustomProperties()
  if im.Checkbox("Waypoints", self.waypoint) then
    self:updatePins()
@/lua/ge/extensions/editor/dynamicDecalsTool.lua
    im.SameLine()
    if im.Checkbox("Do api.onUpdate_", editor.getTempBool_BoolBool(M.doApiUpdate)) then
      M.doApiUpdate = editor.getTempBool_BoolBool()
@/lua/ge/extensions/editor/flowgraph/main.lua
            local setHide = im.BoolPtr(editor.getPreference("flowgraph.general.minimizeFlowgraphWhenRunning"))
            if im.Checkbox("Use Monitor", setHide) then
              editor.setPreference("flowgraph.general.minimizeFlowgraphWhenRunning", setHide[0])
@/lua/ge/extensions/editor/api/valueInspector.lua
    self.inputBoolValue[0] = fieldValue == "1" or fieldValue == "true"
    if imgui.Checkbox(fieldNameId, self.inputBoolValue) then
      self.setValueCallback(fieldName, tostring(self.inputBoolValue[0]), arrayIndex, customData, true)
@/lua/ge/extensions/flowgraph/nodes/input/blacklistActionFilter.lua
  for i, key in ipairs(self.sortedTemplateKeys) do
    if im.Checkbox(key.."##cbaf"..i, im.BoolPtr(self.activeTemplates[key] or false)) then
      self.activeTemplates[key] = not self.activeTemplates[key]
@/lua/ge/extensions/editor/flowgraph/variables.lua

      if im.Checkbox("Create Another", im.BoolPtr(self.addVariableSettings.addAnother or false)) then
        self.addVariableSettings.addAnother = not (self.addVariableSettings.addAnother or false)
@/lua/ge/extensions/editor/materialEditor.lua
  im.SameLine()
  if im.Checkbox(
    "##" .. property .. tostring(layer),
  im.SameLine()
  if im.Checkbox(
    "##" .. label .. property .. tostring(layer),
@/lua/ge/extensions/editor/perfProfiler.lua
        im.BeginChild1(result.id.."child", im.ImVec2(im.GetContentRegionAvailWidth(), 22 * editor.getPreference("ui.general.scale") + 2))
        if im.Checkbox("##cba" .. result.id, im.BoolPtr(columns[result.id].enabled or false)) then
          columns[result.id].enabled = not columns[result.id].enabled
        im.BeginChild1(i.."child", im.ImVec2(im.GetContentRegionAvailWidth(), 22 * editor.getPreference("ui.general.scale") + 2))
        if im.Checkbox("##cbaa" .. i, im.BoolPtr(column.enabled or false)) then
          column.enabled = not column.enabled
      for i, file in ipairs(allFiles) do
        if im.Checkbox('##'..file.meta.name.."enable"..i, im.BoolPtr(file.enabled)) then
          file.enabled = not file.enabled
      for i, file in ipairs(allFiles) do
        if im.Checkbox('##'..file.meta.name.."enable"..i, im.BoolPtr(file.enabled)) then
          file.enabled = not file.enabled
@/lua/ge/extensions/editor/scriptAIManager.lua
        im.MenuItem1(vehIdtxt, nil, false, false)
        im.Checkbox('Loop##loop'..vehId, loopRecordingBoolPtr[vehId])
        im.tooltip('Restart when recording reaches the end')
        im.SameLine()
        im.Checkbox('Debug##debug'..vehId, displayDebugBoolPtr[vehId])
        im.PushItemWidth(60)
    im.SameLine()
    if im.Checkbox("Fast forward", fastForward) then
      if fastForward[0] then
    im.SameLine()
    im.Checkbox("Display IDs", debugDisplay)
    im.tooltip('Display ID above the vehicle')
    im.SameLine()
    im.Checkbox("Display Path", debugPath)
    im.tooltip('Visualize recorded path. Could be performance heavy!')
@/lua/ge/extensions/editor/trafficDebug.lua
  local var = im.BoolPtr(gameplay_traffic.debugMode)
  if im.Checkbox("Visual Debug Mode", var) then
    if var[0] then
  var = im.BoolPtr(awareness)
  if im.Checkbox("AI Awareness", var) then
    gameplay_traffic.setTrafficVars({aiAware = var[0] and "on" or "off"})
  var = im.BoolPtr(trafficVars.enableRandomEvents)
  if im.Checkbox("Enable Random Events", var) then
    gameplay_traffic.setTrafficVars({enableRandomEvents = var[0]})
    local enableRespawn = im.BoolPtr(currVeh.enableRespawn)
    if im.Checkbox("Enable respawning", enableRespawn) then
      currVeh.enableRespawn = enableRespawn[0]
    local enableEntering = im.BoolPtr(obj.playerUsable == nil or obj.playerUsable == true)
    if im.Checkbox("Enable entering", enableEntering) then
      obj.playerUsable = enableEntering[0]
    local drawLine = im.BoolPtr(currVeh.debugLine)
    if im.Checkbox("Draw debug line", drawLine) then
      currVeh.debugLine = drawLine[0]
    local drawText = im.BoolPtr(currVeh.debugText)
    if im.Checkbox("Draw debug text", drawText) then
      currVeh.debugText = drawText[0]
@/lua/ge/extensions/editor/missionEditor/dev.lua
  im.SameLine()
  if im.Checkbox("Dev Mission##devMission", self.devMission) then
    self.mission.devNotes.devMission = self.devMission[0]
@/lua/ge/extensions/editor/cosimulationSignalEditor.lua
      im.SameLine()
      if im.Checkbox("Kinematics", isKinematics) then
        if isDriver[0] or isWheels[0] or isElectrics[0] or isPowertrain[0] then
      im.SameLine()
      if im.Checkbox("Driver", isDriver) then
        if isKinematics[0] or isWheels[0] or isElectrics[0] or isPowertrain[0] then
      im.SameLine()
      if im.Checkbox("Wheels", isWheels) then
        if isKinematics[0] or isDriver[0] or isElectrics[0] or isPowertrain[0] then
      im.SameLine()
      if im.Checkbox("Electrics", isElectrics) then
        if isKinematics[0] or isDriver[0] or isWheels[0] or isPowertrain[0] then
      im.SameLine()
      if im.Checkbox("Powertrain", isPowertrain) then
        if isKinematics[0] or isDriver[0] or isWheels[0] or isElectrics[0] then
      im.SameLine()
      if im.Checkbox("Sensors", isSensors) then
        if isKinematics[0] or isDriver[0] or isWheels[0] or isElectrics[0] or isPowertrain[0] then
      -- 'Store Vehicle Pose' checkbox.
      im.Checkbox("Store Pos/Rot", isPose)
      im.tooltip('Toggle whether to store the vehicle pose (position and rotation) with configuration file.')
@/lua/ge/extensions/editor/dynamicDecals/widgets.lua

  if im.Checkbox(widgetId, editor.getTempBool_BoolBool(value)) then
    local newVal = editor.getTempBool_BoolBool()
@/lua/ge/extensions/trackbuilder/trackBuilder.lua
    im.SameLine()
    if im.Checkbox(translateLanguage("ui.trackBuilder.modifier.inverted", "Inverted") .. "##"..name, modifierValues[name].inverted) then
      tbFunctions.modifierChange(name)
  textureTooltip(materialSettings.center)
  if im.Checkbox("Glow###center", materialSettings.centerGlow) then
    setGlow('center', materialSettings.centerGlow[0])
  textureTooltip(materialSettings.border)
  if im.Checkbox("Glow###border", materialSettings.borderGlow) then
    setGlow('border', materialSettings.borderGlow[0])

    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawLeftBorder", "Draw Left Border"), materials.materialInfo.leftMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawCenter", "Draw Center"), materials.materialInfo.centerMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawLeftBorder", "Draw Left Border"), materials.materialInfo.leftMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawCenter", "Draw Center"), materials.materialInfo.centerMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawRightBorder", "Draw Right Border"), materials.materialInfo.rightMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawCenter", "Draw Center"), materials.materialInfo.centerMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawRightBorder", "Draw Right Border"), materials.materialInfo.rightMesh.paint) then changed = true end

    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawLeftWall", "Draw Left Wall"), materials.materialInfo.leftWall.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawCeiling", "Draw Ceiling"), materials.materialInfo.ceilingMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawLeftWall", "Draw Left Wall"), materials.materialInfo.leftWall.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawCeiling", "Draw Ceiling"), materials.materialInfo.ceilingMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawRightWall", "Draw Right Wall"), materials.materialInfo.rightWall.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawCeiling", "Draw Ceiling"), materials.materialInfo.ceilingMesh.paint) then changed = true end
    if im.Checkbox(translateLanguage("ui.trackBuilder.matEditor.drawRightWall", "Draw Right Wall"), materials.materialInfo.rightWall.paint) then changed = true end
    if changed then
  im.TextColored(style.textColor, displayName)
  if im.Checkbox("Draw##"..name,clickInputModes[name]) then
    local anySelected = false
  im.TextColored(style.textColor, translateLanguage("ui.trackBuilder.wallsCeiling.leftWall", "Left Wall"))
  if im.Checkbox(translateLanguage("ui.trackBuilder.wallsCeiling.active", "Active") .. "##leftWall", modifierValues.leftWall.active) then
      tbFunctions.modifierChange("leftWall")
  im.TextColored(style.textColor, translateLanguage("ui.trackBuilder.wallsCeiling.rightWall", "Right Wall"))
  if im.Checkbox(translateLanguage("ui.trackBuilder.wallsCeiling.active", "Active") .. "##rightWall", modifierValues.rightWall.active) then
    tbFunctions.modifierChange("rightWall")
  im.TextColored(style.textColor, translateLanguage("ui.trackBuilder.wallsCeiling.ceiling", "Ceiling"))
  if im.Checkbox(translateLanguage("ui.trackBuilder.wallsCeiling.active", "Active") .. "##ceilingMesh", modifierValues.ceilingMesh.active) then
    tbFunctions.modifierChange("ceilingMesh")
  im.SameLine()
  if im.Checkbox(translateLanguage("ui.trackBuilder.modifier.inverted", "Inverted") .. "##"..'height', modifierValues['height'].inverted) then
    tbFunctions.modifierChange('height')
  im.TextColored(style.textColor,translateLanguage("ui.trackBuilder.trackSettings.raceSettings", 'Race Settings'))
  if im.Checkbox(translateLanguage("ui.trackBuilder.trackSettings.reversible", "Reversible"),saveSettings.allowReverse) then
    tb.setReversible(saveSettings.allowReverse[0])
  if not isOnGlowCity then
    im.Checkbox(translateLanguage("ui.trackBuilder.saveLoad.saveTimeSettings", 'Save time settings'),saveSettings.saveEnvironment)
  end

  im.Checkbox(translateLanguage("ui.trackBuilder.saveLoad.saveOnThisMap", "Save on this map"),saveSettings.saveOnMap)
end
local function checkPoints()
  if im.Checkbox(translateLanguage("ui.trackBuilder.checkpoints.active", "Active") .. "##cp",modifierValues.checkpoint.active) then
    if modifierValues.checkpoint.active[0] then
  im.SameLine()
  im.Checkbox("No Intersection", addSubtrackParams.noInter)
@/lua/ge/extensions/editor/util/editorElementHelper.lua
  local boxText = e.displayOptions.boxText or ""
  if im.Checkbox(boxText..'##'..e.fieldName, e.ptr) then ctd[e.fieldName] = e.ptr[0] ret=true end
@/lua/ge/extensions/flowgraph/nodes/types/getVariable.lua
  local global = im.BoolPtr(self.global)
  if im.Checkbox("Use Project as Source##".. self.id, global) then
    self:setGlobal(global[0])
@/lua/ge/extensions/editor/raceEditor/pathnodes.lua
      local useNormal = im.BoolPtr(node.hasNormal)
      if im.Checkbox("Use Normal", useNormal) then
        local new = nil
      local visible = im.BoolPtr(node.visible)
      if im.Checkbox("Visible Marker", visible) then
        editor.history:commitAction("Changed Node Visibility",
      local useAsSplit = im.BoolPtr(node.useAsSplit or false)
      if im.Checkbox("Use as Split", useAsSplit) then
        editor.history:commitAction("Changed Use as Split",
@/lua/ge/extensions/editor/missionPlaybook.lua
        local toggle = false
        if im.Checkbox(key.."##StarKey"..sIdx, im.BoolPtr(e.stars[key] or false)) then
          toggle = true
  im.SameLine()
  if im.Checkbox("Condensed", im.BoolPtr(condensed)) then
    condensed = not condensed
@/lua/ge/extensions/flowgraph/nodes/debug/comment.lua
  im.NextColumn()
  if im.Checkbox("##Simple", self.simple) then   reason = "Changed Simple" end
  im.NextColumn()
@/lua/ge/extensions/editor/sitesEditor/parkingSpots.lua
  im.Spacing()
  if im.Checkbox("Is MultiSpot", self.isMultiSpot) then
    dirty = true
@/lua/ge/extensions/ui/bindingsLegend.lua
    local forceUnfade = im.BoolPtr(forceUnfadeDebug)
    if im.Checkbox("Force Unfade", forceUnfade) then
      forceUnfadeDebug = forceUnfade[0]
      local modifierPtr = im.BoolPtr(debugModifierStates[modifierKey])
      if im.Checkbox("Modifier " .. i, modifierPtr) then
        debugModifierStates[modifierKey] = modifierPtr[0]
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/path.lua
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_enabled"), editor.getTempBool_BoolBool(layer.enabled)) then
    layer.enabled = editor.getTempBool_BoolBool()
    im.NextColumn()
    if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_decalUseGradientColor"), editor.getTempBool_BoolBool(layer.decalUseGradientColor)) then
      layer.decalUseGradientColor = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_orientPathDecals"), editor.getTempBool_BoolBool(layer.orientDecals)) then
    layer.orientDecals = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_mirrored"), editor.getTempBool_BoolBool(layer.mirrored)) then
    layer.mirrored = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_flipMirroredDecal"), editor.getTempBool_BoolBool(layer.flipMirroredDecal)) then
    layer.flipMirroredDecal = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_wrapAlphaMaskX"), editor.getTempBool_BoolBool(layer.wrapAlphaMaskX)) then
    layer.wrapAlphaMaskX = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_wrapAlphaMaskY"), editor.getTempBool_BoolBool(layer.wrapAlphaMaskY)) then
    layer.wrapAlphaMaskY = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_wrapColorTextureX"), editor.getTempBool_BoolBool(layer.wrapColorTextureX)) then
    layer.wrapColorTextureX = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_wrapColorTextureY"), editor.getTempBool_BoolBool(layer.wrapColorTextureY)) then
    layer.wrapColorTextureY = editor.getTempBool_BoolBool()
  im.NextColumn()
  if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "inspector_alphaMaskInvert"), editor.getTempBool_BoolBool(layer.alphaMaskInvert)) then
    layer.alphaMaskInvert = editor.getTempBool_BoolBool()
@/lua/ge/extensions/editor/shapeEditor.lua
      if im.BeginTabItem("Details") then
        if im.Checkbox("Force detail", forceDetail) then
          shapePrev.mFixedDetail = forceDetail[0]
        mod = false
        if im.Checkbox("Ghost", renderFlags[1]) then
          mod = true
        end
        if im.Checkbox("Nodes", renderFlags[2]) then
          mod = true
        end
        if im.Checkbox("Bounds", renderFlags[3]) then
          mod = true
        end
        if im.Checkbox("ObjBox", renderFlags[4]) then
          mod = true
        end
        if im.Checkbox("ColMeshes", renderFlags[5]) then
          mod = true
        end
        if shapePrev.createMeshLOD and im.Checkbox("wireframe", renderFlags[6]) then
          mod = true
        end
        if im.Checkbox("wireframe", renderFlags[6]) then
          shapePrev:setRenderState(renderFlags[1][0],renderFlags[2][0],renderFlags[3][0],renderFlags[4][0],renderFlags[5][0],true,renderFlags[6][0])
        im.SliderInt("Destination Detail", lodDetDest, 1, highestDetail-1)
        if im.Checkbox("sloppy", lodSloppy) then
          print("sloppy modified")
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veJBeamBeautifier.lua
      local sectionName, boolPtr = v[1], v[2]
      im.Checkbox(sectionName, boolPtr)
    end
    im.PopFont()
    if im.Checkbox("Align JBeam Header Row", alignHeaderEnabledPtr) then end
    if im.Checkbox("Round Numbers", roundingEnabledPtr) then end
    if im.Checkbox("Align JBeam Header Row", alignHeaderEnabledPtr) then end
    if im.Checkbox("Round Numbers", roundingEnabledPtr) then end
    im.SliderInt("Decimal Places", decimalPlacesPtr, 0, 5)
@/lua/ge/extensions/editor/terrainMaterialsEditor.lua
  im.PopItemWidth()
  im.Checkbox("Use Side Projection##Diffuse", terrainMtlCopyProxy.useSideProjectionInput)
  im.EndGroup()
@/lua/ge/extensions/editor/aiTests.lua

  if im.Checkbox("Override One Way Roads", options.ignoreOneWay) then
    route:setRouteParams(nil, options.ignoreOneWay[0] and 1 or 1e3)
  end
  im.Checkbox("Display Details", options.routeDetails)
  im.Checkbox("Track Player Vehicle", options.trackPlayerRoute)
  im.Checkbox("Display Details", options.routeDetails)
  im.Checkbox("Track Player Vehicle", options.trackPlayerRoute)
      elseif type(p[0]) == "boolean" then
        if im.Checkbox(key, p[1]) then
          veh[key] = p[1][0]

    im.Checkbox("Use Current Route##aiParams", options.useCurrentRoute)
    im.tooltip("If true, uses the route from the Route tab; otherwise, generates a random route.")

    im.Checkbox("Enable AI Debug Drawing##aiParams", options.aiDebug)
    im.tooltip("If true, shows the AI trajectory debug mode.")

    if im.Checkbox("Enable Dynamic Collisions##aiParams", options.dynamicCollisions) then
      be:setDynamicCollisionEnabled(options.dynamicCollisions[0])
@/lua/ge/extensions/editor/dynamicDecals/fonts.lua
      if im.BeginTabItem("Glyphs##FontPreviewTab") then
        if im.Checkbox("Mark missing glyphs", editor.getTempBool_BoolBool(editor.getPreference("dynamicDecalsTool.fonts.markMissingGlyphs"))) then
          editor.setPreference("dynamicDecalsTool.fonts.markMissingGlyphs", editor.getTempBool_BoolBool())
      if header.sdf and im.BeginTabItem("Glyphs SDF##FontPreviewTab") then
        if im.Checkbox("Mark missing glyphs", editor.getTempBool_BoolBool(editor.getPreference("dynamicDecalsTool.fonts.markMissingGlyphs"))) then
          editor.setPreference("dynamicDecalsTool.fonts.markMissingGlyphs", editor.getTempBool_BoolBool())
@/lua/ge/extensions/editor/forestEditor.lua
    im.NextColumn()
    if im.Checkbox("##enableParallaxMapping_checkbox", editor.getTempBool_BoolBool(enableParallaxMapping)) then
      enableParallaxMapping = editor.getTempBool_BoolBool()
    local boolPtr = im.BoolPtr(enableSnapSinkOption)
    if im.Checkbox("Sink Items##enableSnapSink", boolPtr) then
      enableSnapSinkOption = boolPtr[0]
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
  if not view.debugBoolPtr then view.debugBoolPtr = im.BoolPtr(view.debug or false) end
  if im.Checkbox('Debug##VDV_'..tostring(view.name), view.debugBoolPtr) then
    view.debug = view.debugBoolPtr[0]
  if not view.fixUpAxisBoolPtr then view.fixUpAxisBoolPtr = im.BoolPtr(view.fixUpAxis or false) end
  if im.Checkbox('World Up Axis##VDV_'..tostring(view.name), view.fixUpAxisBoolPtr) then
    view.fixUpAxis = view.fixUpAxisBoolPtr[0]
  if not view.freezeBoolPtr then view.freezeBoolPtr = im.BoolPtr(view.freeze or false) end
  if im.Checkbox('Freeze Camera##VDV_'..tostring(view.name), view.freezeBoolPtr) then
    view.freeze = view.freezeBoolPtr[0]
@/lua/ge/extensions/editor/missionEditor/careerSetup.lua
  im.NextColumn()
  if im.Checkbox("Freeroam##ShowInFreeroam", self.showInFreeroamCheckbox) then
    self.mission.careerSetup.showInFreeroam = self.showInFreeroamCheckbox[0]
  im.SameLine()
  if im.Checkbox("Career##ShowInCareer", self.showInCareerCheckbox) then
    self.mission.careerSetup.showInCareer = self.showInCareerCheckbox[0]
@/lua/ge/extensions/flowgraph/nodes/gameplay/removeOtherVehicles.lua
  ptr = im.BoolPtr(self.onlyDrivableVehs)
  if im.Checkbox('##onlyDrivableVehs'..self.id, ptr) then
    self.onlyDrivableVehs = ptr[0]
  ptr = im.BoolPtr(self.onlyFlowgraphVehs)
  if im.Checkbox('##onlyFlowgraphVehs'..self.id, ptr) then
    self.onlyFlowgraphVehs = ptr[0]
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veLightsDebug.lua
  if im.Begin(wndName, windowOpen) then
    im.Checkbox("Spotlight Debug (SL)", spotLightDebugEnabled)
    im.Checkbox("Pointlight Debug (PL)", pointLightDebugEnabled)
    im.Checkbox("Spotlight Debug (SL)", spotLightDebugEnabled)
    im.Checkbox("Pointlight Debug (PL)", pointLightDebugEnabled)
    im.Checkbox("X-Ray Mode", zTestEnabled)
    im.Checkbox("Pointlight Debug (PL)", pointLightDebugEnabled)
    im.Checkbox("X-Ray Mode", zTestEnabled)
    im.Checkbox("Display Names", displayNames)
    im.Checkbox("X-Ray Mode", zTestEnabled)
    im.Checkbox("Display Names", displayNames)
    im.Checkbox("Unit Vectors", displayAsUnitVectors)
    im.Checkbox("Display Names", displayNames)
    im.Checkbox("Unit Vectors", displayAsUnitVectors)
  end
@/lua/ge/extensions/flowgraph/nodes/input/blacklistAction.lua
        im.BeginChild1(result.id, im.ImVec2(im.GetContentRegionAvailWidth(), 22 * editor.getPreference("ui.general.scale") + 2))
        im.Checkbox("##cba" .. result.id, im.BoolPtr(listKeys[result.id] or false))
        im.SameLine()
          im.BeginChild1(name, im.ImVec2(im.GetContentRegionAvailWidth(), 22 * editor.getPreference("ui.general.scale") + 2))
          local clk = im.Checkbox("##cba" .. name .. "-" .. cat .. "-" .. self.id, im.BoolPtr(listKeys[name] or false))
          im.SameLine()
@/lua/ge/extensions/gameplay/util/crashDetection.lua
        if trackedVehIds[selectedVehId].crashSettings.enableImpactLocationData then
          if im.Checkbox("Toggle damage assessment UI", debugDamageAssessmentUIPtr) then
            gameplay_util_damageAssessment.setDebug(debugDamageAssessmentUIPtr[0])
        im.Text("Graph Visibility:")
        im.Checkbox("Graph 1: Acceleration", crashData.debug.graphEnabled[1])
        im.SameLine()
        im.SameLine()
        im.Checkbox("Graph 2: Jerk", crashData.debug.graphEnabled[2])
        im.Checkbox("Graph 3: Threshold/Damage", crashData.debug.graphEnabled[3])
        im.Checkbox("Graph 2: Jerk", crashData.debug.graphEnabled[2])
        im.Checkbox("Graph 3: Threshold/Damage", crashData.debug.graphEnabled[3])
        im.SameLine()
        im.SameLine()
        im.Checkbox("Graph 4: Events", crashData.debug.graphEnabled[4])
        im.Dummy(im.ImVec2(1, 5))
@/lua/ge/extensions/editor/rallyEditor/pacenotes/pacenoteForm.lua

  if im.Checkbox("Slow Corner", im.BoolPtr(pacenote.slowCorner)) then
    pacenote:toggleSlowCorner()

  if im.Checkbox("Reset Odometer", im.BoolPtr(not pacenote.isolate)) then
    pacenote:toggleIsolate()

  if im.Checkbox("Ignore Distance Calls", im.BoolPtr(pacenote.ignoreDistanceCalls)) then
    pacenote:toggleIgnoreDistanceCalls()
@/lua/ge/extensions/editor/assetBrowser.lua
    im.PopStyleVar()
    if im.Checkbox("Show collision mesh", editor.getTempBool_BoolBool(var.meshPreviewDisplayCollisionMesh)) then
      var.meshPreviewDisplayCollisionMesh = editor.getTempBool_BoolBool()
    {fullPathSearch = {"bool", true, "Check full filepath when searching for assets rather than just checking the filename", nil, nil, nil, nil, nil, function()
      if im.Checkbox("##assetBrowser_preferences_fullPathSearchCheckbox", editor.getTempBool_BoolBool(editor.getPreference("assetBrowser.general.fullPathSearch"))) then
        editor.setPreference("assetBrowser.general.fullPathSearch", editor.getTempBool_BoolBool())
@/lua/ge/extensions/editor/dragRaceEditor/dragSettings.lua
  local canBeReseted = im.BoolPtr(dragSettings.canBeReseted or false)
  if im.Checkbox("##canBeReseted", canBeReseted) then
    dragSettings.canBeReseted = canBeReseted[0]
  local canBeTeleported = im.BoolPtr(dragSettings.canBeTeleported or false)
  if im.Checkbox("##canBeTeleported", canBeTeleported) then
    dragSettings.canBeTeleported = canBeTeleported[0]
    local dependency = im.BoolPtr(phase.dependency or false)
    if im.Checkbox("Dependency", dependency) then
      phase.dependency = dependency[0]
  local christmasTreeUsed = im.BoolPtr(dragSettings.prefabs.christmasTree.isUsed or false)
  if im.Checkbox("Enabled##christmasTree", christmasTreeUsed) then
    dragSettings.prefabs.christmasTree.isUsed = christmasTreeUsed[0]
  local displaySignUsed = im.BoolPtr(dragSettings.prefabs.displaySign.isUsed or false)
  if im.Checkbox("Enabled##displaySign", displaySignUsed) then
    dragSettings.prefabs.displaySign.isUsed = displaySignUsed[0]
  local pathsUsed = im.BoolPtr(dragSettings.prefabs.paths.isUsed or false)
  if im.Checkbox("Enabled##paths", pathsUsed) then
    dragSettings.prefabs.paths.isUsed = pathsUsed[0]
  local decorationsUsed = im.BoolPtr(dragSettings.prefabs.decorations.isUsed or false)
  if im.Checkbox("Enabled##decorations", decorationsUsed) then
    dragSettings.prefabs.decorations.isUsed = decorationsUsed[0]
  local canBeReseted = im.BoolPtr(dragSettings.canBeReseted or false)
  if im.Checkbox("##canBeReseted", canBeReseted) then
    dragSettings.canBeReseted = canBeReseted[0]
  local canBeTeleported = im.BoolPtr(dragSettings.canBeTeleported or false)
  if im.Checkbox("##canBeTeleported", canBeTeleported) then
    dragSettings.canBeTeleported = canBeTeleported[0]
    local boolptr = im.BoolPtr(dragSettings.prefabs[prefabType].isUsed or false)
    if im.Checkbox("##isUsed_" .. label, boolptr) then
      dragSettings.prefabs[prefabType].isUsed = boolptr[0]
    local dependency = im.BoolPtr(p.dependency)
    if im.Checkbox("Dependencies##" .. i, dependency) then
      p.dependency = dependency[0]
@/lua/ge/extensions/gameplay/missions/missionTypes/editorHelper.lua
  local boxText = e.displayOptions.boxText or ""
  if im.Checkbox(boxText..'##'..e.fieldName, e.ptr) then mtd[e.fieldName] = e.ptr[0] ret=true end
  im.Columns(1)
@/lua/ge/extensions/editor/dynamicDecals/settings.lua
local function sectionGui(guiId)
  if im.Checkbox("Enable", editor.getTempBool_BoolBool(api.getEnabled())) then
    api.toggleEnabled()
  local enabled = (bit.band(api.getSettings(), api.settingsFlags.UseMousePos.value) == api.settingsFlags.UseMousePos.value)
  if im.Checkbox(api.settingsFlags.UseMousePos.name, editor.getTempBool_BoolBool(enabled)) then
    api.toggleSetting(api.settingsFlags.UseMousePos.value)
        local enabled = tableContains(materialIndices, id)
        if im.Checkbox(string.format("##%s_material_%d_checkbox", widgetId, id), editor.getTempBool_BoolBool(enabled)) then
          local newValue = editor.getTempBool_BoolBool()
      if im.ImGuiTextFilter_PassFilter(meshesFilter, name) then
        if im.Checkbox(string.format("##%s_shapeMesh_%d_checkbox", widgetId, i), editor.getTempBool_BoolBool(enabled)) then
          api.setMeshEnable(name, not enabled)
@/lua/ge/extensions/editor/dynamicDecals/layerStack.lua
    im.SetCursorPosX(indentedCursorPosX)
    if im.Checkbox(string.format("##%s_%s_%s", layer.uid, guiId, "layerMaskEnabled"), editor.getTempBool_BoolBool(layer.mask.enabled)) then
      if editor.getTempBool_BoolBool() then
        im.Indent(indentWidth)
        if im.Checkbox(string.format("##%s_%s_%s_%d", layer.uid, guiId, "layerMaskLayerEnabled", k), editor.getTempBool_BoolBool(maskLayer.enabled)) then
          local layerCopy = deepcopy(layer)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartTree.lua
  if editor.beginWindow(wndName, wndName) then
    im.Checkbox("Raw Data", viewRawData)
    local veh = getPlayerVehicle(0)
@/lua/ge/extensions/editor/missionEditor/setupModules.lua
  end
  if im.Checkbox("##setupModuleVehiclesEnabled", im.BoolPtr(setupModule.enabled)) then
    setupModule.enabled = not setupModule.enabled
    im.HeaderText("Player Vehicle")
    if im.Checkbox("Add Player Vehicle to Selections##vehicle", self.vehicleIncludePlayer) then
      setupModule.includePlayerVehicle = self.vehicleIncludePlayer[0]
    end
    if im.Checkbox("Set Player Vehicle as Priority##vehicle", self.vehiclePrioritizePlayer) then
      setupModule.prioritizePlayerVehicle = self.vehiclePrioritizePlayer[0]
  end
  if im.Checkbox("##setupModuleTrafficEnabled", im.BoolPtr(setupModule.enabled)) then
    setupModule.enabled = not setupModule.enabled
    local innerDisabled = false
    if im.Checkbox("Enable Traffic as Default Setting##traffic", self.trafficUseTrafficInput) then
      setupModule.useTraffic = self.trafficUseTrafficInput[0]

    if im.Checkbox("Keep Previous Traffic##traffic", self.trafficPrevTrafficInput) then
      setupModule.usePrevTraffic = self.trafficPrevTrafficInput[0]

    if im.Checkbox("Use Settings From Traffic Options##traffic", self.trafficUserOptionsInput) then
      setupModule.useGameOptions = self.trafficUserOptionsInput[0]
    if innerDisabled then im.BeginDisabled() end
    if im.Checkbox("Use Simple Vehicles##traffic", self.trafficSimpleVehsInput) then
      setupModule.useSimpleVehs = self.trafficSimpleVehsInput[0]
    if innerDisabled then im.BeginDisabled() end
    if im.Checkbox("Use Custom Vehicle Group##traffic", self.trafficUseCustomGroup) then
      setupModule.useCustomGroup = self.trafficUseCustomGroup[0]
  end
  if im.Checkbox("##setupModuleEnvironmentEnabled", im.BoolPtr(setupModule.enabled)) then
    setupModule.enabled = not setupModule.enabled
    im.PushItemWidth(inputWidth)
    if im.Checkbox("Enable User Setting for Time##environment", self.todUserSettingInput) then
      setupModule.todUserSetting = self.todUserSettingInput[0]
  if im.BeginCombo("##setupdiff", diffSetupCount .. " / " .. 5 .. " (" .. table.concat( diffSetupText, ", " )..")") then
    if im.Checkbox("All", im.BoolPtr(diffSetupCount == 5)) then
      veh.toggleDifferentials = diffSetupCount ~= 5
    end
    if im.Checkbox("Toggle Differentials", im.BoolPtr(veh.toggleDifferentials or false) ) then
      veh.toggleDifferentials = not veh.toggleDifferentials
    end
    if im.Checkbox("Front Differentials", im.BoolPtr(veh.lockFrontDiffs or false) ) then
      veh.lockFrontDiffs = not veh.lockFrontDiffs
    end
    if im.Checkbox("Rear Differentials", im.BoolPtr(veh.lockRearDiffs or false) ) then
      veh.lockRearDiffs = not veh.lockRearDiffs
    end
    if im.Checkbox("Transfercase to 4hi", im.BoolPtr(veh.setTransfercase or false) ) then
      veh.setTransfercase = not veh.setTransfercase
    end
    if im.Checkbox("Rangebox to low", im.BoolPtr(veh.setRangebox or false) ) then
      veh.setRangebox = not veh.setRangebox
@/lua/ge/extensions/editor/flowgraph/events.lua
  local hideDuplicates = editor.getPreference("flowgraph.general.hideDuplicateEvents")
  if im.Checkbox('Hide Duplicates', im.BoolPtr(hideDuplicates)) then
    hideDuplicates = not hideDuplicates
  local autoScroll = editor.getPreference("flowgraph.general.eventAutoScroll")
  if im.Checkbox('Auto Scroll', im.BoolPtr(autoScroll)) then
    autoScroll = not autoScroll
@/lua/ge/extensions/editor/missionEditor/progressSetup.lua
  self.rawCheckbox[0] = self.rawEditPerMission[self.mission.id] or false
  if im.Checkbox("Raw", self.rawCheckbox) then
    self.rawEditPerMission[self.mission.id] = self.rawCheckbox[0]
@/lua/ge/extensions/util/maptiles.lua
  if im.Begin("Map Tile Utility", windowOpen) then
    if im.Checkbox("Show Debug Panel", showDebugPanel) then
    end
    if im.Begin("Debug Panel", showDebugPanel) then
      if im.Checkbox("Show 3D world", show3DWorld) then
        setRenderWorldMain(show3DWorld[0])
      end
      if im.Checkbox("Run", runGenerator) then
      end
      end
      if im.Checkbox("3D Debug", draw3DDebug) then
      end
@/lua/ge/extensions/editor/missionEditor.lua
    im.NextColumn()
    if im.Checkbox("##Automatic Id", im.BoolPtr(newMissionData.autoId)) then
      newMissionData.autoId = not newMissionData.autoId
        local bl = im.BoolPtr(filter[fl.key])
        if im.Checkbox(fl.name, bl) then
          filter[fl.key] = not filter[fl.key]
      end
      if im.Checkbox('Short IDs', im.BoolPtr(editor.getPreference('missionEditor.general.shortIds'))) then
        editor.setPreference('missionEditor.general.shortIds', not editor.getPreference('missionEditor.general.shortIds'))
@/lua/ge/extensions/gameplay/drift/scoring.lua
      end
      im.Checkbox("Toggle Score Graph", debugToggleSmothnessGraph)
      if debugToggleSmothnessGraph[0] then

      im.Checkbox("Experiment with score multipliers", scoreExperiment)
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua
    im.SameLine()
    if im.Checkbox('Active', checkboxActivePartsOnly) then
      -- refresh data
@/lua/ge/extensions/editor/util/vehicleFilterUtil.lua
  local auxVehPtr = im.BoolPtr(e.allowAuxiliaryVehicles)
  if im.Checkbox("Allow Auxiliary Vehicles##"..e._id.."allowAux", auxVehPtr) then
    e.allowAuxiliaryVehicles = auxVehPtr[0]
  local trailerPtr = im.BoolPtr(e.allowLoadedTrailers)
  if im.Checkbox("Allow Loaded Trailers##"..e._id.."allowTrailers", trailerPtr) then
    e.allowLoadedTrailers = trailerPtr[0]
            local selectedPtr = im.BoolPtr(selected)
            if im.Checkbox(option.."##option", selectedPtr) then
              filter.values[option] = selectedPtr[0]
            local selectedPtr = im.BoolPtr(selected)
            if im.Checkbox(option.."##option", selectedPtr) then
              filter.values[option] = selectedPtr[0]
              local selectedPtr = im.BoolPtr(selected)
              if im.Checkbox(option.."##option", selectedPtr) then
                filter.values[option] = selectedPtr[0]
              local selectedPtr = im.BoolPtr(selected)
              if im.Checkbox(option.."##option", selectedPtr) then
                filter.values[option] = selectedPtr[0]
@/lua/ge/extensions/editor/sitesEditor/zones.lua
  local snapActive = im.BoolPtr(snapToTerrain)
  if im.Checkbox("Snap To Terrain", snapActive) then
    snapToTerrain = snapActive[0]
  local topActive = im.BoolPtr(self.current.top.active)
  if im.Checkbox("Top Plane", topActive) then
    self.current.top.active = topActive[0]
  local botActive = im.BoolPtr(self.current.bot.active)
  if im.Checkbox("Bot Plane", botActive) then
    self.current.bot.active = botActive[0]
@/lua/ge/extensions/editor/dynamicDecals/news.lua
    im.SameLine()
    if im.Checkbox("##dynDecals_news_doNotShowAgainCheckbox", editor.getTempBool_BoolBool(editor.getPreference("dynamicDecalsTool.news.doNotShowAgain"))) then
      editor.setPreference("dynamicDecalsTool.news.doNotShowAgain", editor.getTempBool_BoolBool())
@/lua/ge/extensions/editor/dynamicDecals/textures.lua
      im.SetNextItemWidth(im.GetContentRegionAvailWidth())
      if im.Checkbox("##dynDecalTexturesInspector_isSdfCompatible", editor.getTempBool_BoolBool(bulkChangeTemplate.isSdfCompatible)) then
        bulkChangeTemplate.isSdfCompatible = editor.getTempBool_BoolBool()
        im.SetNextItemWidth(im.GetContentRegionAvailWidth())
        if im.Checkbox("##dynDecalTexturesInspector_isSdfCompatible", editor.getTempBool_BoolBool(selectedTexturesSidecarContent[file].isSdfCompatible)) then
          selectedTexturesSidecarContent[file].isSdfCompatible = editor.getTempBool_BoolBool()
@/lua/ge/extensions/editor/crawlEditor/trails.lua
  editEnded[0] = false
  if im.Checkbox("Is Mission Trail", self.isFromMission) then
    editor.history:commitAction("Change Trail Mission Status",
    im.SameLine()
    if im.Checkbox("Reverse Path", self.pathReversed) then
      trail.pathReversed = self.pathReversed[0]
@/lua/ge/extensions/core/ropeVisualTest.lua
        im.TableSetColumnIndex(4)
        if im.Checkbox("##AnchorAFixed", uiPtrs.anchorAFixed) then
          selectedRope.anchorAFixed = uiPtrs.anchorAFixed[0]
        im.TableSetColumnIndex(4)
        if im.Checkbox("##AnchorBFixed", uiPtrs.anchorBFixed) then
          selectedRope.anchorBFixed = uiPtrs.anchorBFixed[0]
      end
      if im.Checkbox("Use XPBD", uiPtrs.useXPBD) then
        selectedRope.useXPBD = uiPtrs.useXPBD[0]
      end
      if im.Checkbox("Use World Collision", uiPtrs.useWorldCollision) then
        selectedRope.useWorldCollision = uiPtrs.useWorldCollision[0]
      end
      if im.Checkbox("Use Self Collision", uiPtrs.useSelfCollision) then
        selectedRope.useSelfCollision = uiPtrs.useSelfCollision[0]
      -- Bending controls
      if im.Checkbox("Use Bending", uiPtrs.useBending) then
        selectedRope.useBending = uiPtrs.useBending[0]
      -- Strain limit controls
      if im.Checkbox("Use Strain Limit", uiPtrs.useStrainLimit) then
        selectedRope.useStrainLimit = uiPtrs.useStrainLimit[0]
      end
      if im.Checkbox("Render Rope", uiPtrs.renderRope) then
        selectedRope.renderRope = uiPtrs.renderRope[0]
        im.TableSetColumnIndex(0)
        if im.Checkbox("Debug Draw", uiPtrs.debugDraw) then
          if selectedRope and ropeDebugSettings[selectedRope.id] then
        im.TableSetColumnIndex(1)
        if im.Checkbox("Debug Text", uiPtrs.debugText) then
          if selectedRope and ropeDebugSettings[selectedRope.id] then
        im.TableSetColumnIndex(0)
        if im.Checkbox("Debug Nodes", uiPtrs.debugNodes) then
          if selectedRope and ropeDebugSettings[selectedRope.id] then
        im.TableSetColumnIndex(1)
        if im.Checkbox("Debug Dir", uiPtrs.debugDir) then
          if selectedRope and ropeDebugSettings[selectedRope.id] then
        im.TableSetColumnIndex(0)
        if im.Checkbox("Debug Mass", uiPtrs.debugMass) then
          if selectedRope and ropeDebugSettings[selectedRope.id] then
@/lua/ge/extensions/editor/rallyEditor/drivelineTab.lua
      local showRawPtr = im.BoolPtr(self.showRawPoints)
      if im.Checkbox("Show Raw Points", showRawPtr) then
        self.showRawPoints = showRawPtr[0]
    local splineViewPtr = im.BoolPtr(self.isSplineView)
    if im.Checkbox("Show Spline", splineViewPtr) then
      self.isSplineView = splineViewPtr[0]
      local showFinalVisualizationPtr = im.BoolPtr(self.showFinalDrivelineVisualization or false)
      if im.Checkbox("Show Final Driveline", showFinalVisualizationPtr) then
        self.showFinalDrivelineVisualization = showFinalVisualizationPtr[0]
@/lua/ge/extensions/editor/mainMenu.lua
    smoothCameraMove[0] = editor.getPreference("camera.general.smoothCameraMove")
    if imgui.Checkbox('Smooth Camera Movement', smoothCameraMove) then
      editor.setPreference("camera.general.smoothCameraMove", smoothCameraMove[0])
    smoothCameraRotate[0] = editor.getPreference("camera.general.smoothCameraRotate")
    if imgui.Checkbox('Smooth Camera Rotation', smoothCameraRotate) then
      editor.setPreference("camera.general.smoothCameraRotate", smoothCameraRotate[0])
    drawGizmoPlane[0] = editor.getPreference("gizmos.general.drawGizmoPlane")
    if imgui.Checkbox('Draw Gizmo Plane', drawGizmoPlane) then
      editor.setPreference("gizmos.general.drawGizmoPlane", drawGizmoPlane[0])
    displaySceneMetric[0] = editor.getPreference("ui.general.sceneMetric")
    if imgui.Checkbox('Display Scene Metric', displaySceneMetric) then
      editor.setPreference("ui.general.sceneMetric", displaySceneMetric[0])
    showCompleteSceneTree[0] = editor.getPreference("ui.general.showCompleteSceneTree")
    if imgui.Checkbox('Show Complete Scene Tree', showCompleteSceneTree) then
      editor.setPreference("ui.general.showCompleteSceneTree", showCompleteSceneTree[0])
    showNavGraphDrivability[0] = isShowNavGraphDrivabilityOn
    if imgui.Checkbox('Draw Navgraph Road Drivability', showNavGraphDrivability) then
      editor.setVisualizationType("drawNavGraphdrivability", showNavGraphDrivability[0])
@/lua/ge/extensions/editor/scriptAIEditor.lua

    im.Checkbox("Overlay", twd.isOverlay)
    im.tooltip('Execute other scripts during recording')
    im.SameLine()
    im.Checkbox("Display", twd.isDispInExe)
    im.tooltip('Show trajectory guides when executing')
    im.SameLine()
    im.Checkbox("Loop", twd.isLooping)
    im.tooltip('Loop the time-transport guide')
          -- The row for spline fitting dialog.
          if im.Checkbox("Fit Spline", tr.isUseSpline) then
            if tr.isUseSpline[0] == true then fitSplineToTraj(tr) end
          -- The top row of checkboxes.
          im.Checkbox("Trajectory", tr.isDisplay)
          im.tooltip('Switch the visual display of this trajectory on/off.')
          im.NextColumn()
          im.Checkbox("Nodes", tr.isMarkNodes)
          im.tooltip('Includes/Removes the trajectory nodes on the display.')
          im.NextColumn()
          im.Checkbox("Velocities", tr.isMarkVelocities)
          im.tooltip('Includes/Removes the line segment velocities on the display.')
          -- The bottom row of checkboxes.
          im.Checkbox("Rigid Path", tr.isUseRigidTranslation)
          im.tooltip('Treats the full trajectory as a rigid body when moving it on the map.')
            im.NextColumn()
            im.Checkbox("AI Assistant", tr.isExternalForce)
            im.tooltip('Switches AI assistance on/off. This helps to keep the vehicle on course.')
            im.NextColumn()
            im.Checkbox("Hold Velocity", tr.isHoldVelocity)
            im.tooltip('Maintains the average velocities of each section, as nodes are moved on the map.')
          im.NextColumn()
          im.Checkbox("Moving Start##" .. tostring(ctr + 2), n.movingStart)
          im.tooltip('Set whether or not to allow continuous movement on approach to this node.')
          im.NextColumn()
          im.Checkbox("Moving End##" .. tostring(ctr + 3), n.movingEnd)
          im.tooltip('Set whether or not to allow continuous movement on departure from this node.')
      im.NextColumn()
      im.Checkbox("Display", cwd.isDisplay)
      im.tooltip('Toggles the camera trajectory display on the map, when editing.')
      im.SameLine()
      im.Checkbox("On Execute", cwd.isOnExecute)
      im.tooltip('Toggles whether the camera path will be used during execution.')
@/lua/ge/extensions/gameplay/drift/drift.lua

      im.Checkbox("Toggle Smothness Graph", debugToggleSmothnessGraph)
      if debugToggleSmothnessGraph[0] then
@/lua/ge/extensions/flowgraph/nodes/types/setVariable.lua
  local global = im.BoolPtr(self.global)
  if im.Checkbox("Use Project as Source##".. self.id, global) then
    self:setGlobal(global[0])
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
  if bool_v == nil then log("E", "", "Parameter 'bool_v' of function 'Checkbox' cannot be nil, as the c type is 'bool *'") ; return end
  return imgui.Checkbox(string_label, bool_v)
end
@/lua/ge/extensions/editor/roadEditor.lua
      im.SameLine()
      if im.Checkbox("Use Template", useTemplate) then
        editor.setDynamicFieldValue(selectedRoad:getID(), "useTemplate", tostring(useTemplate[0]))
  local aiRoadsPtr = im.BoolPtr(editor.getPreference("roadEditor.general.aiRoadsSelectable"))
  if im.Checkbox("AI roads selectable", aiRoadsPtr) then
    editor.setPreference("roadEditor.general.aiRoadsSelectable", aiRoadsPtr[0])
  local nonAiRoadsPtr = im.BoolPtr(editor.getPreference("roadEditor.general.nonAiRoadsSelectable"))
  if im.Checkbox("non-AI roads selectable", nonAiRoadsPtr) then
    editor.setPreference("roadEditor.general.nonAiRoadsSelectable", nonAiRoadsPtr[0])
  local overObjectsPtr = im.BoolPtr(editor.getPreference("roadEditor.general.overObjects"))
  if im.Checkbox("Over Objects", overObjectsPtr) then
    editor.setPreference("roadEditor.general.overObjects", overObjectsPtr[0])
@/lua/ge/extensions/editor/camPathEditor.lua
        -- Debug and Reset buttons in same row
        if im.Checkbox('Debug', trackingDebug) then
          -- Debug toggled
      local cut = im.BoolPtr(marker.cut or false)
      if im.Checkbox('Cut to next marker', cut) then
        editor.history:commitAction(
      local trackPosition = im.BoolPtr(marker.trackPosition or false)
      if im.Checkbox('Track player vehicle', trackPosition) then
        changeSingleMarker(M.currentPath, currentMarkerIndex, 'trackPosition', trackPosition[0])
      local movingStart = im.BoolPtr(M.currentPath.markers[currentMarkerIndex].movingStart or false)
      if im.Checkbox('Moving Start', movingStart) then
        changeSingleMarker(M.currentPath, currentMarkerIndex, 'movingStart', movingStart[0])
      local movingEnd = im.BoolPtr(M.currentPath.markers[currentMarkerIndex].movingEnd or false)
      if im.Checkbox('Moving End', movingEnd) then
        changeSingleMarker(M.currentPath, currentMarkerIndex, 'movingEnd', movingEnd[0])

      --[[if im.Checkbox("show camera preview", displayPreview) then
        if displayPreview[0] then
    -- Settings row below menu bar
    if im.Checkbox('Camera Overlay', overlayEnabled) then
      -- Overlay toggled
      linkReplay[0] = M.currentPath.replay == '' or M.currentPath.replay ~= nil and replayExists(M.currentPath.replay)
      if im.Checkbox('Use with Replay', linkReplay) then
        if linkReplay[0] then
      local manualFov = im.BoolPtr(M.currentPath.manualFov or false)
      if im.Checkbox('Allow manual FOV change', manualFov) then
        editor.history:commitAction(
      local looped = im.BoolPtr(M.currentPath.looped or false)
      if im.Checkbox('Looped', looped) then
        editor.history:commitAction(
@/lua/ge/extensions/editor/vizHelper.lua
      im.SliderFloat("MinDist", minDistance, 0, 10, "%.2f")
      im.Checkbox('Drag Rotation', dragRotation)
@/lua/ge/extensions/editor/rendererComponents.lua
      end
      if im.Checkbox((s.title or s.name) .. '##' .. tostring(newPath), s.cVal) then
        --print('value changed: ' .. tostring(newPath) .. ' = ' .. tostring(s.cVal[0]))
  im.Dummy(im.ImVec2(0, 5))
  if im.Checkbox('Debug##Lighting' .. tostring(newPath), tempBoolPtr) then
  end
  im.Dummy(im.ImVec2(0, 5))
  if im.Checkbox('Enable Bloom##Bloom', tempBoolPtr) then
  end
  im.Dummy(im.ImVec2(0, 5))
  if im.Checkbox('Enable Color Shift##Effects', tempBoolPtr) then
  end
  tempBoolPtr[0] = DOFSettings['enable'].value
  if im.Checkbox('Enable##' .. tostring(newPath), tempBoolPtr) then
    DOFSettings['enable'].value = tempBoolPtr[0]
  tempBoolPtr[0] = DOFSettings['enableDebugMode'].value
  if im.Checkbox('Debug Viz##' .. tostring(newPath), tempBoolPtr) then
    DOFSettings['enableDebugMode'].value = tempBoolPtr[0]
  tempBoolPtr[0] = lightraysSettings['enable'].value
  if im.Checkbox('Enable##Lightrays', tempBoolPtr) then
    lightraysSettings['enable'].value = tempBoolPtr[0]
          tempBoolPtr[0] = mb and mb:isEnabled()
          if im.Checkbox('Enable##MotionBlur', tempBoolPtr) then
            mb:toggle()
          tempBoolPtr[0] = BeamNGVehicle.motionBlurAllVehiclesEnabled
          if im.Checkbox('Enable for vehicles##MotionBlur', tempBoolPtr) then
            BeamNGVehicle.motionBlurAllVehiclesEnabled = tempBoolPtr[0]
          tempBoolPtr[0] = BeamNGVehicle.motionBlurPlayerVehiclesEnabled
          if im.Checkbox('Enable for player vehicles##MotionBlur', tempBoolPtr) then
            BeamNGVehicle.motionBlurPlayerVehiclesEnabled = tempBoolPtr[0]
          tempBoolPtr[0] = mb and mb:isEnabled()
          if im.Checkbox('Enable##Bloom', tempBoolPtr) then
            mb:toggle()
@/lua/ge/extensions/editor/decalSpline.lua
      local tmpPtr = im.BoolPtr(selSpline.isComponent2)
      if im.Checkbox('###777', tmpPtr) then
        local statePre = splineMgr.deepCopyDecalSpline(selSpline)
      tmpPtr = im.BoolPtr(selSpline.isComponent3)
      if im.Checkbox('###7771', tmpPtr) then
        local statePre = splineMgr.deepCopyDecalSpline(selSpline)
      tmpPtr = im.BoolPtr(selSpline.isComponent4)
      if im.Checkbox('###7772', tmpPtr) then
        local statePre = splineMgr.deepCopyDecalSpline(selSpline)
@/lua/ge/extensions/editor/raceEditor/tools.lua

  im.Checkbox("Draw Preview", previewEnabled)
  -- drawing preview
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veJBeamPicker.lua
          for _, v in ipairs(nodeDataRendering) do
            if im.Checkbox(v.name .. "##nodeDataRenderingCheckbox", v.enabled) then end
          end
          for _, v in ipairs(beamDataRendering) do
            if im.Checkbox(v.name .. "##beamDataRenderingCheckbox", v.enabled) then end
          end

            if im.Checkbox(beamType .. "##beamTypeRenderingCheckbox", enabled) then end
          end
      end
      if im.Checkbox("Show Graphs", showGraphs) then end
      im.EndMenu()
@/lua/ge/extensions/editor/extensionsDebug.lua
--[[local function addFilter()
  im.Checkbox("Function", funCheck)
  im.SameLine()
  im.SameLine()
  im.Checkbox("Number",numCheck)
  im.SameLine()
  im.SameLine()
  im.Checkbox("String",strCheck)
  im.SameLine()
  im.SameLine()
  im.Checkbox("Cdata",cdataCheck)
  im.SameLine()
  im.SameLine()
  im.Checkbox("Boolean",boolCheck)
  im.SameLine()
  im.SameLine()
  im.Checkbox("Table",tblCheck)
  im.Separator()
  if editor.beginWindow(toolWindowName, "Extensions Debug Window") then
    im.Checkbox("Filters",filter)
    if filter[0] then
@/lua/ge/extensions/editor/techServerManager.lua
  end
  im.Checkbox('Listen on all interfaces', openServerGuiData.allInterfaces)
  im.InputInt('Port', openServerGuiData.port)
@/lua/ge/extensions/flowgraph/nodes/ui/imgui/elemental/imCheckbox.lua
  local imVal = im.BoolPtr(self.state)
  if im.Checkbox(tostring(self.pinIn.text.value or "Checkbox")  ..'##'.. tostring(self.id), imVal) then
    self.state = imVal[0]
@/lua/ge/extensions/editor/missionEditor/previewChecker.lua
  local alwaysShowScreenshots = editor.getPreference("missionEditor.general.alwaysShowScreenshots") or false
  if im.Checkbox('Always show Preview', im.BoolPtr(alwaysShowScreenshots)) then
    alwaysShowScreenshots = not alwaysShowScreenshots