Skip to content

obs.SetSceneItemProperties doesn't work without error #128

Open
@Zaniyar

Description

@Zaniyar

Given:

I have a scene (named 'Szene') and there a source (called 'Small Picture').

When I do this:

obs.SetSceneItemProperties({"scene-name": "Szene", "item": "Small Picture", "visible": false});
It works perfectly.

Problem:

When I do this:

obs.SetSceneItemProperties({"scene-name": "Szene", "item": "Small Picture", "x": 300});
//or
obs.SetSceneItemProperties({"scene-name": "Szene", "item": "Small Picture", "position.x": 300});
//or
obs.SetSceneItemProperties({"scene-name": "Szene", "item": "Small Picture", "cx": 300});

Nothing happens! Console log:
{ 'message-id': '5', status: 'ok', messageId: '5' }

Versions Used:

"obs-websocket-js": "^1.2.0",
"obs-websocket-js-types": "^4.4.0"
 "OBS on Windows": "22.02"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions