Creating a transparent rectangle

Hi, I’ve just been trying to figure out a good way to do this and so far
I’ve come up with the following,

  1. Create a new surface of whatever dimensions you want.
  2. Fill it with the required color
  3. Set the surface to transparent.

The solution works fine, but if anyone has got a better way of doing it, I’d
like to know. Thanks :slight_smile: