How to edit a scratchpad module manually to insert text?

I’m trying to use the snippets found here in this post by @PiranhaSauce PiranhaSauce: Niagara Spawn particles in custom positions | Unreal engine Code Snippet

But when I create a Niagara scratchpad module, I can only fiddle with it as a blueprint. There doesn’t seem to be a place where I can paste the provided snippet text: I am assuming there must be one and I am just too blind to see it. I have tried manually editing the .uasset but it has a bunch of compiled nonsense at the top of the file so I am guessing that is not the way I should be doing it.

Any advice would be appreciated, on pasting this in and using the scratchpad raw etc.

Hey there, thanks for reaching out. I think in 5.0 the copied text of Niagara scripts changed, making the snippet text out of date.

I’ve updated the snippets to have text for both 4.27 and 5.0+, hope that helps!

Seconded. I can’t find a way to paste the copied text in a Niagara Module Script. Any pointers would be appreciated.