Spotlight with an opaque colour

Hi simple question which I can’t seem to figure out.

Is it possible to override the way that a single light casts color onto the surface of a mesh so its possible to cast an opaque colour with a spotlight onto an object.

I will answer my own question here in case others follow this thread. Use a light projector using one of the light projector shaders provided by Unity, with this shader use a texture as a cookie for this shaders texture input