A local variable is a variable that is only accessible in it's nested location. Example: if (condition) then local _x = 5; -- _x can only be accessed in this if statement for i = _x, 0, -1 ## ## = i; -- It can also be accessed from things lower in the heirarchy. end end -- _x cannot be accessed here |