Added input method to CMovingSquare