Make Cartoon-like car headlight light
Are you making this in 2D or 3D? If 3D, you can use a spot light and position it in the headlight of the car, keyframing it's position. You also wouldn't need to use nodes for that.

If 2D, and you want to have it be casting a yellow tint on the background, then you can make the light a yellow plane and decrease the alpha transparency value.