Just change the different parameters, more border radius = more curved edges.
All code by me 100% pen. If you want to backpack this sprite, you can delete the border radius, res, height, and width variables, use the draw rect block to make the shape. Make sure to give credit. Parameters for the draw rect block are (x , y, width, height, border radius, resolution, and rgb color)