Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

What is a MetaTable and how would I use it?

I have been seeing this for a while now in Lua and still do not know anything about it. Could anyone enlighten me?

1 answer

Metatables. Metatables allow tables to become more powerful than before. They are attached to data and contain values called metamethods. Metamethods are fired when a certain action is used with the datum that it is attached to.

Here is a link.

This discussion is preserved as it was. New answers, comments, and votes are closed.