Questions & Answers about На уроке рисования у неё на столе лежали палитра и гуашь.
На уроке рисования means in/at the drawing class or more literally at the lesson of drawing.
- уроке is in the prepositional case because it follows на in the meaning of location: на уроке = in class / during the lesson
- рисования is the genitive singular of рисование (drawing, painting, art activity)
This is a very common Russian pattern:
- урок математики = a math lesson
- урок музыки = a music lesson
- урок рисования = a drawing lesson
So рисования is there because Russian often uses the genitive after a noun to show what kind of lesson something is.
Because after на when talking about location or being somewhere, Russian usually uses the prepositional case.
So:
- на уроке = in class / at the lesson
- на столе = on the table
Compare that with motion:
- на урок = to the lesson
- на стол = onto the table
So in your sentence nothing is moving to the lesson; the scene is simply taking place there. That is why it is на уроке.