Garry's Mod Wiki


  table Entity:GetKeyValues()


Returns a table containing all key values the entity has.

Single key values can usually be retrieved with Entity:GetInternalVariable.

This only includes engine defined key values. For custom key values, use GM:EntityKeyValue or ENTITY:KeyValue to capture and store them.

Here's a list of keyvalues that will not appear in this list, as they are not stored/defined as actual keyvalues internally:


1 table
A table of key values.