Skip to content

feat(vars): Add obsPreviousSceneName variable (#3057) - #3562

Open
Lordmau5 wants to merge 1 commit into
crowbartools:v5from
Lordmau5:feat/obs-previous-scene
Open

feat(vars): Add obsPreviousSceneName variable (#3057)#3562
Lordmau5 wants to merge 1 commit into
crowbartools:v5from
Lordmau5:feat/obs-previous-scene

Conversation

@Lordmau5

Copy link
Copy Markdown

Description of the Change

Adds a new variable called obsPreviousSceneName to access the previous scene that was active after switching scenes (or "" if there was no previous scene)

The value is cached similarly to the programSceneName in the file obs-remote.ts
https://github.com/crowbartools/Firebot/blob/v5/src/backend/integrations/builtin/obs/obs-remote.ts

The only thing I'm a bit unsure about is the description for the variable.

Applicable Issues

#3057

Testing

This has been tested with some simple Log Message effects and works fine in my setup.

Screenshots

image

@Lordmau5
Lordmau5 requested a review from ebiggz as a code owner August 11, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant