Wiktionary
scriptwriting
n. The writing of scripts, usually for film or television.
Usage examples of "scriptwriting".
I ran to him and held him and saw his eyes glaze, and it seemed to me he laughed right at the end, a small soft chuckle, but that may be scriptwriting of my own, a little neat stage direction.