A 12-year-old Eastside Elementary School student was taken into custody after the incident on Monday.
A replica semi-automatic pistol pellet gun, backpack and magazine of pellets were confiscated.
The student allegedly shot one classmate in the leg, and another was grazed in the neck and shoulder area.
Police said the student's motive for bringing the gun to school was "to have fun."