You can modify a box using the mouse.
There are three different ways to modify a box:
The editing is automatic after the creation. You can also edit the primitive by clicking Edit in the Object panel.