@d-healey said in How to use Modulator.exists?:
Did you try it? I get an error.
That's very interesting. I spent so much time in the C++ i failed to consider if it even compiles in HISE. I assumed it did, but it doesn't in the onInit() callback. It will compile if you call exists() in any of the other callbacks, but will throw an error at runtime.
Perhaps exists() is not supposed to be visible in the API and was accidentally added into the documentation?