Removing the decal a player is looking at

Is this possible? ents.GetAll() doesnt have decals in it and I dont know how to trace them.

You cannot remove decals individually.

Well you could remove all decals on that entity using http://wiki.garrysmod.com/page/Entity/RemoveAllDecals but that’s about as close as you’ll get.

You might be able to use

Entity:RemoveAllDecals if the player is looking at an entity, but that’s about all you can do

[editline]6th September 2017[/editline]

ninja’d

[editline]6th September 2017[/editline]



ply:GetEyeTrace().Entity:RemoveAllDecals()


Is it possible to stop the drawing of it using stencils or cover it with another invisible decal?

You may be able to block it with an invisible decal, but there’s no way to tell if you’re looking at a decal. Stencils can’t change render order.