Pen and scrolling.

In Scratch, the sprite cannot go off the screen, which is why the figures drawn with the pen do not go beyond the screen, but are compressed. There is no such limitation in Snap. Do I need to use a special script that will cut off the lines of shapes drawn with a pen, so as not to overload the project with drawing lines off the screen? I used google translate

You do not need to make any code for that as it will not overload snap!, but if you do that the pen that is drawn off the screen will never be visible.

pen that is drawn off screen is not part of the pen trails, try drawing pen off screen and then clicking the pen trails reporter.