What are Functions?
Functions are specific pieces of code that can easily be reused between scripts. Functions are NOT self running scripts. As a rule, if you don’t know what a function is, then you definately don’t need it…Functions are for people who create scripts, not people who use scripts…But, if you want to know – a function is a programming term for a block of code that does something you can reuse. For example, I might want to make a function that changed the currently selected object color to red. Now, once I make the function I just have to call the function from within my script, instead of rewriting the code to change the object color…