This is an example of personification, as the author is giving human-like qualities to the act of holding onto someone with their eyes. The author is trying to convey a sense of intense focus, affection, or obsession in the way the character is looking at the other person. It suggests a strong emotional connection or attachment.