Mouse = setmetatable({}, {
__index = { Left = 1, Right = 2 }
});
Mouse. -- Suggest the Left and Right
-- Now need the same properties with nil to work, and the __newindex to work.
Mouse = setmetatable({ Left = nil, Right = nil }, {
__index = { Left = 1, Right = 2 }
});
Any way to autocomplete from __index table?