Tip about using copying Snippets - watch your indentation!

Hey I just wanted to share a goofy scripting mistake I made yesterday that confused the heck out of me, to warn other creators in case it happens to them.

If you’re grabbing code from the Snippet library in the Forums to copy into your own script, and you choose to copy and paste a section of the snippet instead of clicking the button to copy the whole Snippet, the formatting, such as indentation, may not copy correctly. This may break your script. :open_mouth:

I know this might be obvious to more experienced scripters, but for me I was so confused lol. I only wanted one part of my old DayNight Cycle snippet, so I copied and pasted just a chunk of it into an existing script. And I didn’t notice that when I copied it all of my indents were gone. I dunno, I was sleepy. :woman_shrugging:

To be clear this isn’t a problem with Snippets, it’s my own user error that I wanted to share as a lesson.