You can do that
i use these macro and if i have many sources i also use the lua source toggler
obsproject.com
i use these macro and if i have many sources i also use the lua source toggler
OBS Lua - Source toggler
Maximum 1 source visible per configured scene and group When you make a source visible in a configured scene or group all other sources in that scene or group will become invisible. This way maximum 1 source is visible in the scene or group.