Update stencil clipping region


#1

Hi, I’ve successfully clip a sprite using the clipping node.
I can update the clip region dynamically too.

The problem is I need to constantly create new stencil and set the clipper’s stencil to the new one. I tried to draw new polygon with the old one but nothing updates.

Is creating new stencil and set the clipper’s stencil to the new one is the only way to update the clipping region?