Garry's Mod Wiki

Entity:RemoveAllDecals

  Entity:RemoveAllDecals()

Description

Removes all decals from all surfaces of the given entity.

If you are looking to remove specific map decals, see util.RemoveDecalsAt.

Example

Removes all decals from all props in world.

for i, ent in ipairs( ents.FindByClass( "prop_physics" ) ) do ent:RemoveAllDecals() end