hi @crystalmath8450 !
I would like to e.g. sum the pixel values inside the draggable shape.
Yes, that would be possible to build with anywidget.
I can think of a a widget based on
https://konvajs.org/docs/sandbox/index.html for calculating pixel values inside the draggable shape. I think it would take me about 1-2 days to build a pixel sum widget.