Context: Y has just told X that he/she is considering switching his/her job.

X: Do you want to leave the job?
Y: Only if the right opportunity comes along.