Grab and place system that snaps to position

I want to make a grab and place system similiar to dusty trip, where when i place the object, it will kind of “teleport” to a specific position

I dont know where to start and i have searched on google, youtube and devforum