What is the word for something close to you in a way that you want to have it?
Are you thinking of "tantalisingly"?
tantalising - Tormenting or teasing with the sight or promise of something unobtainable.
‘a tantalizing glimpse of the career he might have had’
(Oxford English Dictionary)