Hello,
I am trying to add a button to WidgetContextMenu if the selected widget is a Sticker and it is not locked.
I can get the type of widget from the widget object, but it is not clear where i can garner if the widget has been locked or not. This leads to my button being accessible on locked objects, as shown:
![](https://uploads-us-west-2.insided.com/miro-us/attachment/93fcec1a-8fb1-4ab8-a46f-4f1b00ee383c.png)
Can you please offer any guidance on how to tell whether the widget is locked from within the plugin code?
Hope this is clear and thanks in advance.
Oliver.