Garry's Mod Wiki

CONTENTS

Description

Enumerations used by util.PointContents, PhysObj:SetContents and as tracer masks.

Values

CONTENTS_EMPTY0Things that are not solid
CONTENTS_SOLID1Things that are solid
CONTENTS_WINDOW2Glass
CONTENTS_AUX4
CONTENTS_GRATE8Bullets go through, solids don't
CONTENTS_SLIME16
CONTENTS_WATER32Hits world but not skybox
CONTENTS_BLOCKLOS64Things that block line of sight
CONTENTS_OPAQUE128Things that block light
CONTENTS_TESTFOGVOLUME256
CONTENTS_TEAM4512
CONTENTS_TEAM31024
CONTENTS_TEAM12048
CONTENTS_TEAM24096
CONTENTS_IGNORE_NODRAW_OPAQUE8192
CONTENTS_MOVEABLE16384
CONTENTS_AREAPORTAL32768
CONTENTS_PLAYERCLIP65536
CONTENTS_MONSTERCLIP131072
CONTENTS_CURRENT_0262144
CONTENTS_CURRENT_1801048576
CONTENTS_CURRENT_2702097152
CONTENTS_CURRENT_90524288
CONTENTS_CURRENT_DOWN8388608
CONTENTS_CURRENT_UP4194304
CONTENTS_DEBRIS67108864
CONTENTS_DETAIL134217728
CONTENTS_HITBOX1073741824Hitbox
CONTENTS_LADDER536870912Ladder
CONTENTS_MONSTER33554432NPCs
CONTENTS_ORIGIN16777216
CONTENTS_TRANSLUCENT268435456Hits world but not skybox
LAST_VISIBLE_CONTENTS128Last visible contents enumeration
ALL_VISIBLE_CONTENTS255Sum of all the visible contents enumerations