while draweing a shape , square for example press the "r" key or the "j" key, check it out

actually i think it is "r" and "o" keys, test it, or use primitive tools in shape drawing tools