This is my take at a quick renderer for rectangles with rounded corners. This script uses only one variable and one custom block, and is pretty fast, although probably not optimal. ═════════════════════════════════════ To use this in a project, simply follow these steps: 1. Click “See inside”, and navigate to the code inside the sprite. 2. Open the area marked “Backpack” at the bottom of the screen. 3. Drag the chunk of code that starts with “define round rect from…” to the backpack. 4. Open a new project and drag the code from your backpack into your project. All required variables will be created automatically. You will now find the “round rect” block under “Custom Blocks” in the block menu.
This is copyleft, which means that you are free to use it for anything you want. You do not have to give any form of credit, even though it would be appreciated, of course.