Garry's Mod Wiki

debug.getfenv

  table debug.getfenv( table object )

Description

Returns the environment of the passed object. This can be set with debug.setfenv

Arguments

1 table object
Object to get environment of

Returns

1 table
Environment