What is `isCommand` in an event descriptor?

I have event listener in a plugin and usually it is called one time on each action. While developing at some point listener started recieving 2 events for each action. The only difference was isCommand property of the event descriptor - first time false and second time true. After I restarted Ps and loaded plugin again, it got back to one event per action with isCommand: false

What is this property? Do we need to pass it using batchPlay()? Why it event were triggered twice?

You can leave it out, it will default to true. (Here’s an older comment about it)

1 Like