The definitions of past continuous:
We use the past continuous to say that someone was in the middle of doing something at a certain time. The action or situation had already started before this time but hadn’t finished:
-This time last year I was living in Brazil.
-What were you doing at 10 o’clock last night?