I’m trying to resize a Bpatcher with "this.patcher.box.rect", but I can’t find how to add/substract a value to one of the existing coordinates (here to the vertical right one).
I have a toggle going in a message [size $1] going in js object.
r = this.patcher.box.rect;
if (x > 0)
r = (r + 100);
r = (r – 100);