Customize the select Frame

How can I customize the rectangle that frames a selected block? I would like to change the color or even the line width.

You can use the Pen property of the block.