Abstract:
A device for outputting a state change effect based on an attribute of an object in an electronic device and a method thereof are provided. The electronic device includes a touch screen display, a processor electrically connected to the touch screen display, and a memory electrically connected to the processor. The memory may store instructions enabling the processor to display a lock screen including a first object and a second object on the touch screen display, to receive a touch or a gesture input related to the first object or the second object through the touch screen display, to display a first visual effect on the screen when the processor receives an input related to the first object, and to display a second visual effect on the screen when the processor receives an input related to the second object, when the instructions are executed.