Is there a way to draw a 2d image onto a canvas rather than a scene?

I don’t speak English, so I ask a question with Google Translator
I’m making a car simulation.

This is the simulation we are making
I want to draw a warning image at the top of the screen when the car gets close to an obstacle.

I don’t know how to display the warning image like the picture on the right.

I’m new to programming
I am learning threejs now.
This is a simple question, but please understand.

Have you considered to work with a simple HTML element? With some markup and CSS, it’s actually easy to implement such UI elements. You also have full control over the elements from your JS code. Live example:

Thank you.
Let’s try it.