Hello, Richard-- and welcome to English Forums. No, you cannot step outside the sentence to other sentences or into reality to determine a grammatical component of a sentence. 'You' is the subject of your sentence, and 'what' is the object.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.