var b = fw.getDocumentDOM().pathAttributes.brush; if (b && b.softness != undefined){ b.softness = Math.min(b.softness+1, 100); }