Open theca11 opened 1 year ago
Adds a new request called ToggleSceneItemEnabled which toggles the enable state of a scene item and returns the new state.
ToggleSceneItemEnabled
Closes #1153
Tested OS(s): Windows 10 (22H2 19045) New request tested with the help of obs-websocket-js lib:
obs-websocket-js
sceneItemId
GetSceneItemId
const {sceneItemEnabled} = obs.call('ToggleSceneItemEnabled', {sceneName: 'My scene', sceneItemId: 1234});
master
release/*
Description
Adds a new request called
ToggleSceneItemEnabled
which toggles the enable state of a scene item and returns the new state.Motivation and Context
Closes #1153
How Has This Been Tested?
Tested OS(s): Windows 10 (22H2 19045) New request tested with the help of
obs-websocket-js
lib:sceneItemId
value withGetSceneItemId
const {sceneItemEnabled} = obs.call('ToggleSceneItemEnabled', {sceneName: 'My scene', sceneItemId: 1234});
Types of changes
Checklist:
master
or arelease/*
branch.