from manim import *
class IntegerDemo(Scene):
    def construct(self):
        head = Text("Integer: set_x / set_y", font="Consolas", font_size=26, color=YELLOW).to_corner(UL, buff=0.4)
        x = Integer(123).set_x(-2).set_y(2)
        y = Integer(321).set_x(2).set_y(-2)
        self.add(head)
        self.play(FadeIn(x), run_time=1.0)
        self.play(FadeIn(y), run_time=1.0)
        self.wait(3.6)
