Garry's Mod Wiki


boolean Entity:IsInWorld()


Returns whether the entity is inside a wall or outside of the map.

Internally this function uses util.IsInWorld, that means that this function only checks Entity:GetPos of the entity. If an entity is only partially inside a wall, or has a weird GetPos offset, this function may not give reliable output.


1 boolean
Is the entity in world

Page Links

Special Pages



Render Time: 28ms

DB GetPage 3
Generate Html 3
SaveChanges (1) 8
Render Body 0
Render Sidebar 12