Using prompts as object selectors