Abstract: Provided are an electronic device and an operation method thereof according to embodiments. The electronic device according to an embodiment includes an optical module configured to radiate light to an object and to detect a distance to the object from the electronic device by using light reflected from the object. The electronic device further includes a processor configured to determine touch information and/or gesture information of the object based on information about the detected distance to the object.