We deal with an optimal control problem governed by a nonlinear hyperbolic initial-boundary value problem describing the perpendicular vibrations of a simply supported anisotropic viscoelastic plate against a rigid obstacle. A variable thickness of a plate plays the role of a control variable. We verify the existence of an optimal thickness function.