Disable nodes by using function node

I want to use the code to disable a specific nodes depends on its ID.
For example
node.id = '7465hjg'
node.enable = false.
I cannot find the right code for this task.
Thanks in advance for any help.

You cannot disable a node at runtime. You can however inhibit any messages traveling from is output by using a gate or a flag.

Thanks for that

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.