Is possible to keep object dimension constant while zooming viewport? smth like gumball

Hi forum,
is possible to keep object dimension always same? I mean when u zoom-in viewport or zoom-out, object size doesn’t change. exactly like gumball!!

better question, how gumball has same size when u zoom-in or out?