In “The Castle of Otranto,” readers encounter this sentence:…

In “The Castle of Otranto,” readers encounter this sentence: “At that instant the portrait of his grandfather, which hung over the bench where they had been sitting, uttered a deep sigh, and heaved its breast.” What literary technique is Walpole employing in this sentence?