Originally Posted By: Ercoles
I want an entity to glow when for example hit by something.


Then you must set the entity's material to glow_on, when it is hit by something (e.g. via an event) and when it is not hit, then you use by default glow_off as entity material. Simple.