I'd like to manipulate the vertical space under a custom command I defined. How can I do that?

(all these years and I actually have never looked into this before...)

Picture
-------

![enter image description here](https://i.stack.imgur.com/zxjlY.png)

MWE
---

```
\documentclass{scrartcl}

\usepackage{
setspace,
lipsum
}

\newcommand{\something}[1]{\begin{flushleft}\large\sffamily{#1}\end{flushleft}}

\begin{document}
\onehalfspacing
\lipsum[1]
\something{Words}
\lipsum[2]
\end{document}

```

Solution
--------

```
\makeatletter
\newcommand{\something}[1]{%
    \par\addvspace{\topsep}%
    \noindent\begingroup\raggedright\sffamily#1\par\nobreak\addvspace{0.15\baselineskip}\endgroup
    \@afterheading\@afterindentfalse
}

```