lua setmetatable code example Example: lua setmetatable table = {} metatable = {} setmetatable(table, metatable)