# Allow running commands for any node regardless of edit context

**URL:** <https://forums.creativeclouddeveloper.com/t/allow-running-commands-for-any-node-regardless-of-edit-context/507>\
**Category:** UXP Plugin API\
**Tags:** feature-request\
**Created:** [December 11, 2018, 4:46pm UTC](https://forums.creativeclouddeveloper.com/t/allow-running-commands-for-any-node-regardless-of-edit-context/507 "2018-12-11T16:46:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 11, 2018, 4:46pm UTC](https://forums.creativeclouddeveloper.com/t/allow-running-commands-for-any-node-regardless-of-edit-context/507/1 "2018-12-11T16:46:10Z")

</div>

I’m the developer of a UI prototyping tool [http://mokup.app](http://mokup.app)

I’ve already integrated my tool with Sketch and Figma without any issues. XD was planned to be the next.  
I want to make a full XD document import into my tool (same integration like ProtoPie does).

But it looks like its impossible with current limitations of the edit context.  
Please allow plugin developers to make changes to any node regardless of the edit context.

---

<div class="post-metadata">

**Author:** ![pklaschka](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/pklaschka/32/3162_2.png) [@pklaschka](https://forums.creativeclouddeveloper.com/u/pklaschka)\
**Post date:** [December 11, 2018, 7:05pm UTC](https://forums.creativeclouddeveloper.com/t/allow-running-commands-for-any-node-regardless-of-edit-context/507/2 "2018-12-11T19:05:32Z")

</div>

I might get you wrong here, but since (from my understanding) you only need reading access (which isn’t affected by the edit context), and don’t need to manipulate the XD document (changing stuff), that wouldn’t be a problem, would it?

Otherwise, could you maybe clarify why you need to manipulate the scenegraph for that?

Thank you ver much in advance,  
Best,  
Pablo

---

<div class="post-metadata">

**Author:** ![Mokus](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mokus](https://forums.creativeclouddeveloper.com/u/Mokus)\
**Post date:** [December 11, 2018, 7:17pm UTC](https://forums.creativeclouddeveloper.com/t/allow-running-commands-for-any-node-regardless-of-edit-context/507/3 "2018-12-11T19:17:22Z")

</div>

I need to render masks.
