Garry's Mod Wiki


ProjectedTexture:SetTargetEntity( Entity target = NULL )

Just Added

This was just added in the latest version (2021.03.31). It might only be available on the Dev Branch right now.


Sets the target entity for this projected texture, meaning it will only be lighting the given entity and the world.

You must call ProjectedTexture:Update after using this function for it to take effect.


1 Entity target = NULL
The target entity, or NULL to reset.

Page Links

Special Pages



Render Time: 68ms

DB GetPage 47
Generate Html 2
SaveChanges (1) 10
Render Body 0
Render Sidebar 7