Active particles driven by competing spatially dependent self-propulsion and external force