My problem is that i can't figure out how to use an interrupt on the analog pin or if it's possible.
Is an interrupt appropriate? Is an interrupt the best solution to the problem? Those are the questions you should be asking. From what you've described, the answers are "no".