Snap to default dialog box button

Is there a way to make the pointer snap to the default button in a dialog box? I have seen this for other operating systems but haven't seen this for macOS, What determines what the default button is? Is there a default for whether it is "Yes" or "No"?