An electronic device, comprising: a display; a sensor module configured to sense a movement of the electronic device; and a processor configured to: control the display to display a stereoscopic image including a left-eye image and a right-eye image on the display; control the display to display a pointer object on a first position of the stereoscopic image; move the pointer object from the first position in the stereoscopic image to a second position corresponding to the movement sensed by the sensor module; determine whether the pointer object remains at the second position for a predetermined time after the movement of the pointer object, the second position being a position between a third position and a fourth position, the third position being a position at which a first object is positioned, the fourth position being a position at which a second object is positioned; based on determining that the pointer object remains at the second position for the predetermined time, determine a movement direction in which the pointer object has been moved before the pointer object is positioned at the second position between the third position and the fourth position, the movement direction being a direction of the movement of the pointer object; determine the second object which is, from the second position, positioned in the determined movement direction of the pointer object between the first object and the second object; and move the pointer object into the fourth position of the determined second object. a display; a sensor module configured to sense a movement of the electronic device; and a processor configured to: control the display to display a stereoscopic image including a left-eye image and a right-eye image on the display; control the display to display a pointer object on a first position of the stereoscopic image; move the pointer object from the first position in the stereoscopic image to a second position corresponding to the movement sensed by the sensor module; determine whether the pointer object remains at the second position for a predetermined time after the movement of the pointer object, the second position being a position between a third position and a fourth position, the third position being a position at which a first object is positioned, the fourth position being a position at which a second object is positioned; based on determining that the pointer object remains at the second position for the predetermined time, determine a movement direction in which the pointer object has been moved before the pointer object is positioned at the second position between the third position and the fourth position, the movement direction being a direction of the movement of the pointer object; determine the second object which is, from the second position, positioned in the determined movement direction of the pointer object between the first object and the second object; and move the pointer object into the fourth position of the determined second object. control the display to display a stereoscopic image including a left-eye image and a right-eye image on the display; control the display to display a pointer object on a first position of the stereoscopic image; move the pointer object from the first position in the stereoscopic image to a second position corresponding to the movement sensed by the sensor module; determine whether the pointer object remains at the second position for a predetermined time after the movement of the pointer object, the second position being a position between a third position and a fourth position, the third position being a position at which a first object is positioned, the fourth position being a position at which a second object is positioned; based on determining that the pointer object remains at the second position for the predetermined time, determine a movement direction in which the pointer object has been moved before the pointer object is positioned at the second position between the third position and the fourth position, the movement direction being a direction of the movement of the pointer object; determine the second object which is, from the second position, positioned in the determined movement direction of the pointer object between the first object and the second object; and move the pointer object into the fourth position of the determined second object.