A non-transitory computer-readable storage medium storing a computer-executable program for executing a method of controlling a light emission control device for controlling a light emission unit that irradiates light to an object when the object is shot by an image pickup apparatus, wherein the method comprises:
- detecting posture information of at least one of the image pickup apparatus and the light emission unit;
- when performing bounce shooting in which the object is shot by causing the light emitted from the light emission unit to be reflected from the reflection object for illumination of the object, selecting one of (a) a first mode for controlling an irradiating direction of the light emission unit according to distances from the image pickup apparatus to the object and to a reflection object, and (b) a second mode for manually controlling the irradiating direction of the light emission unit;
- and
- starting an operation for controlling, in a case where the second mode has been selected, the irradiating direction of the light emission unit according to the posture information detected by said detecting, when a predetermined first operation that is different from an operation for selecting one of the first mode and the second mode is performed.