Pensively has 2 different meanings across 1 category:
Adverb
in a pensive manner
"pensively he stared at the painting"
In a thoughtful or reflective manner.