Rotary Actuator
First create a crank-rocker four-bar mechanism as in Making Your First Mechanism. Then continue by opening the Rotary Actuator Chart and following the animation as below. Make sure to click on the rotary actuator symbol in the mechanism before editing its speed.

The rotary actuator symbol is shown in the purple