A folded camera comprising an actuator for rotating an optical path folding element (OPFE), the actuator comprising: a) a first sub-assembly, a second sub-assembly and a stationary sub-assembly, the first sub-assembly configured to rotate the OPFE relative to the stationary subassembly in an extended rotation range around a yaw rotation axis and the second subassembly configured to rotate the OPFE relative to the first sub-assembly in an extended rotation range around a pitch rotation axis that is substantially perpendicular to the yaw rotation axis; b) a first sensor configured to sense rotation around the yaw rotation axis and a second sensor configured to sense rotation around the pitch rotation axis, the first and second sensors being fixed to the stationary sub-assembly, wherein at least one of the first sensor or the second sensor is a magnetic flux sensor; and c) a voice coil motor comprising a magnet (304, 404) and a coil (806, 804), wherein the magnet is fixedly attached to one of the first sub-assembly or the second sub-assembly, wherein the coil is fixedly attached to the stationary sub-assembly, wherein a driving current in the coil creates a force that is translated to a torque around a respective rotation axis, characterized in that the second sensor is positioned such that sensing by the second sensor is decoupled from the rotation of the OPFE around the yaw rotation axis, wherein the actuator further comprises a first curved ball-guided mechanism operative to enable the rotation around the pitch rotation axis and a second curved ball-guided mechanism operative to enable the rotation around the yaw rotation axis, wherein the second sub-assembly includes a frame and the frame is configured to accommodate the first curved ball-guided mechanism, wherein the back of the frame has an arc-shape with a center of curvature on the yaw rotation axis. a) a first sub-assembly, a second sub-assembly and a stationary sub-assembly, the first sub-assembly configured to rotate the OPFE relative to the stationary subassembly in an extended rotation range around a yaw rotation axis and the second subassembly configured to rotate the OPFE relative to the first sub-assembly in an extended rotation range around a pitch rotation axis that is substantially perpendicular to the yaw rotation axis; b) a first sensor configured to sense rotation around the yaw rotation axis and a second sensor configured to sense rotation around the pitch rotation axis, the first and second sensors being fixed to the stationary sub-assembly, wherein at least one of the first sensor or the second sensor is a magnetic flux sensor; and c) a voice coil motor comprising a magnet (304, 404) and a coil (806, 804), wherein the magnet is fixedly attached to one of the first sub-assembly or the second sub-assembly, wherein the coil is fixedly attached to the stationary sub-assembly, wherein a driving current in the coil creates a force that is translated to a torque around a respective rotation axis, characterized in that the second sensor is positioned such that sensing by the second sensor is decoupled from the rotation of the OPFE around the yaw rotation axis, wherein the actuator further comprises a first curved ball-guided mechanism operative to enable the rotation around the pitch rotation axis and a second curved ball-guided mechanism operative to enable the rotation around the yaw rotation axis, wherein the second sub-assembly includes a frame and the frame is configured to accommodate the first curved ball-guided mechanism, wherein the back of the frame has an arc-shape with a center of curvature on the yaw rotation axis.