Blue square next to cursor

Hello everyone, i was figuring out how to rotate a sketch, during the search i accidently did something, now i cant select anything on the project and the cursor shows a blue square.

How can I undo this?