How can I tell the path is in editing mode?

if I double click a path(or shape), it enters to path editing mode.
how can I tell which mode current node is?
I console.log the node and find all properties are the same in these two modes.
please help, thanks a lot.
Snip20210818_5
Snip20210818_6

1 Like

Unfortunately there is no property for this exposed by the plugin APIs.

1 Like

or is there any way i can figure out which tool current active?
if the Pen Tool is active, I can assume is in editing mode…

1 Like

The plugin APIs cannot tell you that either. They do not provide any information about the state of the XD user interface that I can think of. Is there a reason why you want to know if a path is being edited? Perhaps I can suggest another solution.