A spray gun for a material sprayer configured to spray material output by a material pump to the spray gun, the spray gun comprising: a gun body having a material pathway extending through the gun body to provide material to a spray nozzle and an air pathway extending through the gun body to provide air to the spray nozzle; a material flow valve disposed at least partially in the gun body and configured to control flow of material through the material pathway to the nozzle; a trigger pivotably mounted to the gun body and configured to actuate the material flow valve between a first open state and a first closed state; and a sensor associated with the trigger and configured to sense the trigger being in an actuated state; characterized in that the trigger is disposed relative to the material flow valve and the sensor such that shifting the trigger in a first direction through a first pull range from a non-actuated state to a first intermediate state causes the material flow valve to shift to the first open state and such that shifting the trigger in the first direction through a second pull range from the first intermediate state to the actuated state causes the sensor to generate a signal configured to cause activation of a material pump based on the sensor sensing the trigger being in the actuated state; wherein release of the trigger through a second direction, opposite the first direction, causes the trigger to shift from the actuated state to the first intermediate state, where the material flow valve is open and the sensor stops sensing the trigger and generates a signal configured to cause deactivation of a material pump, prior to the trigger shifting to the non-actuated state where the material flow valve is in the first closed state. a gun body having a material pathway extending through the gun body to provide material to a spray nozzle and an air pathway extending through the gun body to provide air to the spray nozzle; a material flow valve disposed at least partially in the gun body and configured to control flow of material through the material pathway to the nozzle; a trigger pivotably mounted to the gun body and configured to actuate the material flow valve between a first open state and a first closed state; and a sensor associated with the trigger and configured to sense the trigger being in an actuated state; characterized in that the trigger is disposed relative to the material flow valve and the sensor such that shifting the trigger in a first direction through a first pull range from a non-actuated state to a first intermediate state causes the material flow valve to shift to the first open state and such that shifting the trigger in the first direction through a second pull range from the first intermediate state to the actuated state causes the sensor to generate a signal configured to cause activation of a material pump based on the sensor sensing the trigger being in the actuated state; wherein release of the trigger through a second direction, opposite the first direction, causes the trigger to shift from the actuated state to the first intermediate state, where the material flow valve is open and the sensor stops sensing the trigger and generates a signal configured to cause deactivation of a material pump, prior to the trigger shifting to the non-actuated state where the material flow valve is in the first closed state.