A point of aim shows where a weapon is aimed on a target. An electronic device determines an impact location on the target of a projectile fired from the weapon, determines a distance from the point of aim to the impact location, and moves the point of aim in order to sight the weapon to the target.