Cutting out center rectangle of window

Hi!
I would like to cut out center part of window. I think to do that I should use sensor.set_windowing(), but I’m not sure how. I’m not sure what “x,y” does, it cuts out some part or something?
Is it even possible to cut out a part of the window?
Thanks

x, y, w, h define the rectangle out of the main image to cut…