Context: Y has just told X that he/she is thinking of buying a flat in New York.

X: Would you consider living in Brooklyn?
Y: If the opportunity presented itself.