KeyRoutines
ConditionFreecond.obs.currentScene

Check which OBS scene is live before a routine acts

OBS scene is checks whether OBS's program scene, the one viewers see, is the one you name. It lets a routine behave differently on your Gameplay scene than on Just Chatting or Be Right Back.

How it works

  • Pick the scene from OBS's live list; the match ignores upper and lower case.
  • It is false with a reason when OBS isn't connected or no scene was chosen.
  • Inside Wait until it wakes when OBS changes scene, so you can hold a routine until a scene goes live.
  • It only reads from OBS and never changes anything.

Routines that use it

Mute only on the break scene

When a hotkey fires, If OBS scene is Be Right Back, OBS: mute or unmute silences your mic in OBS.

Toggle between two scenes

If OBS shows Gameplay, switch to Camera; otherwise switch back to Gameplay, all from one hotkey.

Wait for the intro to end

Wait until OBS scene is Live, then Speak text says "You're on" through your headset.

Settings

SettingWhat it does
SceneThe scene.

Good to know

  • OBS must be open with its WebSocket server turned on.

Questions

Can a routine tell which scene OBS is on?
Yes. Use the OBS scene is condition in an If or Wait until and pick the scene. It checks the scene that's currently live.
Does it look at the preview in studio mode?
It checks the program scene, which is what viewers see.

Pairs well with

Build this routine in KeyRoutines

Free from the Microsoft Store for Windows 11 and 10. Pro is a one-time upgrade.