I want to know how this code can be done in the new scripting in spark ar. I want to know how you can subscribe to a pulse value from the patches. you used to be able to do it like this:
Patches.getPulseValue('pulse1').subscribe(() => {
});
how can this be done in versions of spark ar after version 101?