On the Tools menu, click Element Width Snap or use the keyboard shortcut Ctrl+S. The width of the nearest building element will determine the snapping distance when "element width snap" is active.
Align walls on input