The utility model relates to the technical field of modeling toys, in particular to a modeling toy capable of swinging leftwards and rightwards, which comprises a front shell and a rear shell, a
machine core is arranged in the front shell and the rear shell, a
machine core fixing part upper shell is sleeved at the upper end of the
machine core, and a machine core fixing part bottom shell is sleeved at the lower end of the machine core. A driving gear is rotationally connected to the outer surface of the machine core fixing piece upper shell, a screw is connected between the driving gear and the machine core fixing piece upper shell, a machine core protection piece
ratchet wheel is embedded in the other side of the machine core, a driving piece is fixed to the outer surface of the machine core protection piece
ratchet wheel, and through mutual transmission between the driving gear and the driving gear, the machine core protection piece
ratchet wheel is driven to rotate. According to the utility model, the function of swinging the shell of the product is achieved by matching with the
power output of the machine core, the modeling can be spliced and expanded by matching with the assembling column outside the product, the autonomy of children is increased in the playing process, the intelligence of the children is promoted, the children feel more fun, and the diversification of the modeling is realized.