The invention relates to a functional component, a method for controlling a functional component and a terminal, belonging to the field of mobile devices. The
functional module includes a magnetic moving structure and a
functional module. The magnetic moving structure includes a fixed part, a moving part and a magnetic part. The moving part is used for moving along a specified trajectory on the fixed part, and is connected with the
functional module. The magnetic part includes a first
magnet arranged on the fixed part and a second
magnet arranged on the moving part, wherein one of the first
magnet and the second magnet is an
electromagnet, and the other is a magnet. According to the invention, the moving part to which the functional module is fixed is enabled to move along a specified trajectory on the fixed part through the magnetic part consisting of an
electromagnet and a magnet, and thus, can drive the functional module to move. The problem in the related technology that it may bedifficult for the functional module to move normally after long-time use is solved. In the invention, the functional module can still move normally after long-time use.