An electronic device is provided. The electronic device includes memory that stores instructions, a display, and at least one processor, wherein the instructions, when executed by the at least one processor, cause the electronic device to display an image including at least one object on the display, identify an input to a first object among the at least one object through the display, based on identifying the input to the first object, display a second object on an area where the input is identified in the image from a first time point when the input is identified, the second object being different from the at least one object included in the image, identify whether the first object is an object separable from the image while the displaying the second object, apply a visual effect to the image so that the first object is distinguished from the image, based on identifying that the first object is a separable object, and display a menu for executing a plurality of functions for the first object on the display.