setSceneItemLocked method
Sets the lock state of a scene item.
Scenes and Group
Complexity Rating: 3/5 Latest Supported RPC Version: 1 Added in v5.0.0
Implementation
Future<void> setSceneItemLocked({
required String sceneName,
required int sceneItemId,
required bool sceneItemLocked,
}) async =>
await obsWebSocket.sendRequest(Request(
'SetSceneItemLocked',
requestData: {
'sceneName': sceneName,
'sceneItemId': sceneItemId,
'sceneItemLocked': sceneItemLocked,
},
));