updateObject()

Updates properties of an existing object on the current artboard. Changes apply only to the embedded widget (client-side).

Signature


Parameters

objectId string
The ID of the object to update.
updates Object (partial)
An object containing the properties to update. Only the specified properties will be changed; all other properties will remain unchanged.

Returns

The updated Object, or null if no artboards exist or the object is not found.

Example