# How to edit a scratchpad module manually to insert text?

**URL:** <https://forums.unrealengine.com/t/how-to-edit-a-scratchpad-module-manually-to-insert-text/761889>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [February 2, 2023, 5:32am UTC](https://forums.unrealengine.com/t/how-to-edit-a-scratchpad-module-manually-to-insert-text/761889 "2023-02-02T05:32:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ExplodedMesh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ExplodedMesh](https://forums.unrealengine.com/u/ExplodedMesh)\
**Post date:** [February 2, 2023, 5:32am UTC](https://forums.unrealengine.com/t/how-to-edit-a-scratchpad-module-manually-to-insert-text/761889/1 "2023-02-02T05:32:44Z")

</div>

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](https://dev.epicgames.com/community/snippets/L2B/niagara-spawn-particles-in-custom-positions)

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.

---

<div class="post-metadata">

**Author:** ![PiranhaSauce](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piranhasauce/32/1050272_2.png) [@PiranhaSauce](https://forums.unrealengine.com/u/PiranhaSauce)\
**Post date:** [March 7, 2023, 11:05pm UTC](https://forums.unrealengine.com/t/how-to-edit-a-scratchpad-module-manually-to-insert-text/761889/2 "2023-03-07T23:05:59Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![kennetherhabor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kennetherhabor](https://forums.unrealengine.com/u/kennetherhabor)\
**Post date:** [August 29, 2023, 8:02pm UTC](https://forums.unrealengine.com/t/how-to-edit-a-scratchpad-module-manually-to-insert-text/761889/3 "2023-08-29T20:02:23Z")

</div>

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