The search for the chiral magnetic effect (CME) has been a subject of great interest in the field of high-energy heavy-ion collision physics, and various observables have been proposed to probe the CME. Experimental observables are often contaminated with background contributions arising from collective motions (specifically elliptic flow) of the collision system. We present a method study of event-shape engineering (ESE) that projects the CME-sensitive γ112 correlator and its variations (γ132 and γ123) to a class of events with minimal flow. We discuss the realization of the zero-flow mode, the sensitivity on the CME signal, and the corresponding statistical significance for Au+Au, Ru+Ru, and Zr+Zr collisions at √ sNN = 200 GeV with a multiphase transport (AMPT) model, as well as a new event generator, Event-By-Event Anomalous-Viscous Fluid Dynamics (EBE-AVFD).