Another preferred optical assembly comprises at least one optical element and at least one actuator attached to the at least one optical element, wherein the actuator has a plurality of degrees of freedom of movement of the optical element, wherein at least one position sensor is attached to said optical element or is attached to a frame of a holding device, especially of a barrel, wherein the at