The rotations of blue object of a bevel gear (around two perpendicular axes XX and YY) are controlled by two grounded motors.
Grey motor makes grey frame rotate around axis XX thus controls the object rotation around axis XX.
Orange motor makes orange gear shaft rotate around axis XX thus controls the object rotation around axis YY.
Motion of the grey motor also affects the object rotation around axis YY. First part of the video shows this phenomenon.
To keep the object do not rotate around axis YY while adjusting the object position around axis XX, the orange motor must rotate together with the grey one. Second part of the video shows this correction.
Motion of the orange motor does not affect the object rotation around axis XX (see third part of the video).