{"name":"ctrlSetURLOverlayMode","title":"ctrlSetURLOverlayMode","type":"command","url":"https://community.bistudio.com/wiki/ctrlSetURLOverlayMode","revid":376033,"updated":"2025-07-22T09:12:10Z","groups":["GUI Control"],"status":"ok","games":{"arma3":"2.10"},"since":"arma3 2.10","arma3_since":"2.10","description":"Sets how to handle opening of URL, default browser or Steam overlay. Possible values:\n\n- 0 - default browser\n- 1 - Steam overlay if enabled, otherwise default browser\n- 2 - Steam overlay, shows error message box if disabled (the box has a button to continue with default browser)\n\n> [!NOTE]\n> Toggling Steam overlay in Steam options will require game restart for the changes to take effect.","syntaxes":[{"syntax":"control ctrlSetURLOverlayMode mode","params":[{"name":"control","type":"Control","description":"control that contain url opening action","type_expr":"Control"},{"name":"mode","type":"Number","description":"overlay mode, see description","type_expr":"Number"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"mode"}}],"examples":[{"code":["_control ctrlSetURLOverlayMode 1;"]}],"see_also":["isSteamOverlayEnabled","ctrlURLOverlayMode","ctrlURL","menuSetURL"]}