Garry's Mod Wiki

light userdata

Userdata is a type primarily used in the Lua C API. The userdata points to data in C, such as an object. There are two types of userdata: full userdata and light userdata. The word "userdata" alone implies full userdata. See also userdata.

Light userdata represents a pointer as a value in Lua. Unlike full userdata, light userdata is not garbage collected, has no individual metatable, and is only equal to other light userdata when the pointers they hold are equal. This is not inherently used in Garry's Mod.

See the Programming in Lua documentation for more information.