Sometimes on science fiction shows you see somebody fire a laser beam only to miss because the other person ducked in time. Can you see what's wrong with this?
But the farther away the gun is, the wider the beam gets spread so that only a small fraction of the total light power can go into anyone’s eye.