Feature Request: Allow the pen to draw at different layers
-
Please consider adding an option in your Pen Extension to allow a sprite to draw at its own layer instead of always drawing on the stage. This is a frequently asked for feature in the Scratch forums. It would enhance the ability to use sprites with pen drawings.
To go along with this suggestion is also a request to provide a “clear pen drawings for this sprite only” feature.
Both of these would give creators the ability to make and modify their own sprites in real-time using their programs.
-
Hi @viol-watson2002
Thanks for the suggestion. We can definitely support that.
One way to design this feature is to add a new block “create new drawing layer <include/exclude> costume”, which creates a new transparent overlaying canvas, and all subsequent PEN commands from this sprite will be applied to this canvas, including the “erase all” block. If “include sprite” is chosen, then the costume would also be drawn in the same layer instead of on the backdrop layer.
Would this cover most of the use cases?
-
I’ve read through the suggestions. The “low-floor” use case is just drawing a health bar that would not ever be covered up by any sprites. Other people just wanted to be able to draw on top of sprites. And other people wanted to change something in their drawing without having the overhead of redrawing the entire stage in an pen-based animation.
I think what you are suggesting would cover these and provide a useful upgraded feature.
-
@viol-watson2002 Thank you for the survey. This feature is in our pipeline now. Will probably take a few weeks for dev and testing.