cleaning sprite generation command