longingly
definition: in a yearning manner
example: The students spent the rest of the period gazing longingly at the illuminated exit sign.
speech part: adverb
synonyms:
yearningly