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

X: Would you be willing to stay with the company if your position changed?
Y: I'd stay if there was a raise.