distractedly

adverb
1
in a way that shows that you are not paying attention to somebody/something because you are worried or thinking about something else
با حواس‌پرتی, پریشان‌وار