After adding your animation, open the Animation Pane and double-click the animation to access the Effect Options window. In the “After Animation” section, select “Dim with Color” to choose a dimming color and set the transparency level.