An electronic device comprising: a base; a fixed head disposed on an upper portion of the base; a drive unit that is disposed in an inner space of the fixed head; a movable head that surrounds at least a portion of the fixed head and is arranged to be movable with respect to the fixed head by being fixed to at least a portion of the drive unit; at least one sensor module that is disposed in at least a portion of the movable head or the base; and at least one processor configured to: detect, via the sensor module, an input, and control, via the drive unit, to cause the movable head to move in a determined direction according to a parameter corresponding to the detected input, wherein the drive unit comprises: a first drive unit configured to move the moveable head such that the moveable head is rotatable about a fist axis; and a second drive unit configured to move the moveable head such that the moveable head is rotatable about a second axis orthogonal to the first axis, characterised in that the first drive unit comprises: a rotation plate disposed to be capable of self-rotating within the fixed head, a first fixing piece fixed to the rotation plate, a first gear disposed to be rotated coaxially with the rotation plate, and a first drive motor disposed within the fixed head and including a pinion gear engaged with the first gear; and wherein a portion of the moveable head is fixed to the first fixing piece such that the moveable head fixed to the first fixing piece is moved when the first gear is rotated according to driving of the first drive motor is driven. a base; a fixed head disposed on an upper portion of the base; a drive unit that is disposed in an inner space of the fixed head; a movable head that surrounds at least a portion of the fixed head and is arranged to be movable with respect to the fixed head by being fixed to at least a portion of the drive unit; at least one sensor module that is disposed in at least a portion of the movable head or the base; and at least one processor configured to: detect, via the sensor module, an input, and control, via the drive unit, to cause the movable head to move in a determined direction according to a parameter corresponding to the detected input, wherein the drive unit comprises: a first drive unit configured to move the moveable head such that the moveable head is rotatable about a fist axis; and a second drive unit configured to move the moveable head such that the moveable head is rotatable about a second axis orthogonal to the first axis, characterised in that the first drive unit comprises: a rotation plate disposed to be capable of self-rotating within the fixed head, a first fixing piece fixed to the rotation plate, a first gear disposed to be rotated coaxially with the rotation plate, and a first drive motor disposed within the fixed head and including a pinion gear engaged with the first gear; and wherein a portion of the moveable head is fixed to the first fixing piece such that the moveable head fixed to the first fixing piece is moved when the first gear is rotated according to driving of the first drive motor is driven. detect, via the sensor module, an input, and control, via the drive unit, to cause the movable head to move in a determined direction according to a parameter corresponding to the detected input, wherein the drive unit comprises: a first drive unit configured to move the moveable head such that the moveable head is rotatable about a fist axis; and a second drive unit configured to move the moveable head such that the moveable head is rotatable about a second axis orthogonal to the first axis, characterised in that the first drive unit comprises: a rotation plate disposed to be capable of self-rotating within the fixed head, a first fixing piece fixed to the rotation plate, a first gear disposed to be rotated coaxially with the rotation plate, and a first drive motor disposed within the fixed head and including a pinion gear engaged with the first gear; and wherein a portion of the moveable head is fixed to the first fixing piece such that the moveable head fixed to the first fixing piece is moved when the first gear is rotated according to driving of the first drive motor is driven. a first drive unit configured to move the moveable head such that the moveable head is rotatable about a fist axis; and a second drive unit configured to move the moveable head such that the moveable head is rotatable about a second axis orthogonal to the first axis, characterised in that the first drive unit comprises: a rotation plate disposed to be capable of self-rotating within the fixed head, a first fixing piece fixed to the rotation plate, a first gear disposed to be rotated coaxially with the rotation plate, and a first drive motor disposed within the fixed head and including a pinion gear engaged with the first gear; and a rotation plate disposed to be capable of self-rotating within the fixed head, a first fixing piece fixed to the rotation plate, a first gear disposed to be rotated coaxially with the rotation plate, and a first drive motor disposed within the fixed head and including a pinion gear engaged with the first gear; and wherein a portion of the moveable head is fixed to the first fixing piece such that the moveable head fixed to the first fixing piece is moved when the first gear is rotated according to driving of the first drive motor is driven.