Hey,
i managed to get the script running, my result now looks like:

My sprite got its pivot top-left, the only thing i need to solve is how to get the window not to clip to the center but to the top right point of the cube, got any suggestions for me?
Regards