{"name":"enableInfoPanelComponent","title":"enableInfoPanelComponent","type":"command","url":"https://community.bistudio.com/wiki/enableInfoPanelComponent","revid":378366,"updated":"2026-04-03T16:46:18Z","groups":["Custom Panels"],"status":"ok","games":{"arma3":"1.72"},"since":"arma3 1.72","arma3_since":"1.72","description":"Controls availability of component to given object info panel.","syntaxes":[{"syntax":"unit enableInfoPanelComponent [panelID, componentClassOrType, enable]","params":[{"name":"unit","type":"Object","description":"the concerned vehicle","type_expr":"Object"},{"name":"panelID","type":"String","description":"\"left\" or \"right\" can be used as panel names","type_expr":"String"},{"name":"componentClassOrType","type":"String","type_expr":"String"},{"name":"enable","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if component was successfully enabled on the panel, false otherwise (e.g. component is not available for the object)"},"form":"binary","left":{"text":"unit"},"right":{"text":"[panelID, componentClassOrType, enable]"}},{"syntax":"[unit, turretPath] enableInfoPanelComponent [panelID, componentClassOrType, enable]","params":[{"name":"unit","type":"Object","description":"the concerned vehicle","type_expr":"Object"},{"name":"turretPath","type":"Turret Path","description":"turret index","type_expr":"Turret Path"},{"name":"panelID","type":"String","description":"\"left\" or \"right\" can be used as panel names","type_expr":"String"},{"name":"componentClassOrType","type":"String","type_expr":"String"},{"name":"enable","type":"Boolean","type_expr":"Boolean"}],"returns":{"type":"Boolean","type_expr":"Boolean","description":"true if component was successfully enabled on the panel, false otherwise (e.g. component is not available for the object)"},"form":"binary","left":{"text":"[unit, turretPath]"},"right":{"text":"[panelID, componentClassOrType, enable]"}}],"examples":[{"code":["// enables slingload assistant on player's vehicle right panel at driver position\n[vehicle player, [-1]] enableInfoPanelComponent [\"VehicleSystemsDisplayManagerComponentRight\", \"SlingLoadDisplay\", true];"]}],"see_also":["Arma 3: Custom Info","infoPanel","infoPanels","setInfoPanel","infoPanelComponents","infoPanelComponentEnabled"]}