right on the button

right on the button or right on the nose (they mean the same thing)

Meaning: you understand precisely what the question was, or what something(someone) was trying to say

Example: A teacher speaking to a student: "Inna, your essay response was right on the button!"

bang on
dead on
right on