In this example, we are going to fade to a certain opacity using fadeTo() function, opacity is set to 0.5.
fadeTo()