Toy control in class