Create string on button press

MakeLiteralString is a pure function. Pure functions are only executed when the output is needed. So any kind of function that doesn’t set variables but only gets variables are mostly pure functions.

Don’t drag the execution pin of your OnClicked(NR7) but instead simply rightclick the EventGraph and type MakeLiteralString.