Placing a item and snapping with some objects

i am working on a pickup and placing a item system so i can place item on grounds fine but i need if we point the preview on specific location lets say coffee machine then the item(i.e coffee cup) should snap to coffee machine point my interaction and preview like this