Snapping object to position on any surface under mouse in editor

Hello, was looking for the same answer today to snap object to surface and i found that there is an option in the viewport on the up right corner that has an icon of 3 arrows “Control how objects snap to surface” click there and check Surface Snapping.