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: Depends on what they were offering.