Simple OBS Lua script to show a “map cover” image when you hold a hotkey and hide it when you release. Press G to instantly hide your map—whether you’re running, crouching, or standing still.
- Hold G or Shift+G to toggle your map overlay
- Enter any image source name in the script properties (Ensure this matches the exact name of your image source in the OBS scene.)
- OBS Studio 26 or newer
- Windows, macOS or Linux
- Download
Rust-Map-Hide.lua. - In OBS go to Tools → Scripts → + and select
map_cover.lua. Or Manually Put The File In The OBS Scripts folder Via
- Windows:%appdata%\obs-studio\basic\scripts\
- macOS:~/Library/Application Support/obs-studio/basic/scripts/
- Linux:~/.config/obs-studio/basic/scripts/
- Open the script in Tools → Scripts.
- In Image Source Name, enter the exact name of your map image source.
- Open OBS Settings → Hotkeys, find Show Map Cover (Hold G) and Show Map Cover (Hold Shift+G), then assign to the keys.
Make sure your map source is hidden by default in your scene.
- Hold G → map overlay appears
- Release G → map overlay hides
- Hold Shift+G → map overlay appears
- Release Shift+G → map overlay hides
Pull requests and issue reports are welcome.
This project is released under the MIT License.