Vioxx was designed to inhibit the cyclooxygenase-2 (COX-2) enzyme, which plays a role in inflammation and pain. By specifically targeting COX-2, Vioxx aimed to provide pain relief without the gastrointestinal side effects commonly associated with traditional NSAIDs, which inhibit both COX-1 and COX-2 enzymes.