Select the subject of the sentence.

You just sat on Thomas the Tank Engine's birthday cake!

You

The subject of the sentence is "You".

The subject of a sentence is the person, place, thing, or idea that is doing or being something in the sentence. To identify the subject of a sentence, you can ask "Who or what is doing the action or being described?" In the given sentence, the subject is "You." It is the person who sat on Thomas the Tank Engine's birthday cake.