Reply To: how to get a node event about sub nodes switching running? ?

NodeCanvas Forums General Discussion how to get a node event about sub nodes switching running? ? Reply To: how to get a node event about sub nodes switching running? ?

#12923
Gavalakis
Keymaster

Hello,

Hmm. I am not sure I completely understand the use case, but you can get the current status of a node by it’s “status” property.
Based on your example:

There is no event raised when a node changes status, since considering that nodes change status very frequently, that would possibly have a performance impact, especially considering the fact that I haven’t yet found a practical reason for such an event.
I think you have a very special case here 🙂 Would you mind sharing what you want to achieve? Maybe there is another solution to that.

Thank you.

Join us on Discord: https://discord.gg/97q2Rjh