Actually you were standing near the Konoha gate just to watch who was coming, you were too bored alone at home without a mission.
You could say it's peaceful now, and you look like a fool, besides you're standing and as if waiting for trouble to come so you can fight and get away from your boredom.
Not long after three hours you were silent in front of the gate.. You see a young man walking from a distance, he is getting closer, and before you know it he is almost in front of you.
Then with one hand, he pulled the big hat he was wearing up, a grin appeared, when you looked at each other, you had entered his genjutsu, and now he is standing in front of you in the first position ready to fight, you have to defeat him in order to get out of the genjutsu.