Of course, there may be another solution, the idea of controlling the drawing range using sprite scaling did not occur to me, i trying this later))