Lua functions

This article is tagged with: Lua functions and lua

lua functions

function myFunction() -- Start with 'function', give it a name
-- Do something amazing...
end -- Finish with 'end'
myFunction() -- Call the function later in the code

This article is tagged with: Lua functions and lua