A controller comprising: an output for controlling one or more lighting devices to emit light into an environment; and one or more inputs for receiving position and orientation information of a wireless communication device , comprising a display providing a user interface, and for further receiving user-defined parameters, selected by a user via the user interface, the user-defined parameters being transmitted from said wireless communication device based on a first interaction between the user and the wireless communication device ; characterized by the controller being configured to: determine a spot in said environment towards which the wireless communication device is directed to based on received position and orientation information indicative of a current position, respectively, orientation of the wireless communication device ; and during a second interaction, detect movement of the wireless communication device and track movement of the spot, based on orientation information indicative of a further orientation of the wireless communication device , to calculate a region in the environment defined by the movement of the tracked spot between a starting point and an end point and control the one or more lighting devices to modify the light in said region based on at least one of the received user-defined parameters. an output for controlling one or more lighting devices to emit light into an environment; and one or more inputs for receiving position and orientation information of a wireless communication device , comprising a display providing a user interface, and for further receiving user-defined parameters, selected by a user via the user interface, the user-defined parameters being transmitted from said wireless communication device based on a first interaction between the user and the wireless communication device ; characterized by the controller being configured to: determine a spot in said environment towards which the wireless communication device is directed to based on received position and orientation information indicative of a current position, respectively, orientation of the wireless communication device ; and during a second interaction, detect movement of the wireless communication device and track movement of the spot, based on orientation information indicative of a further orientation of the wireless communication device , to calculate a region in the environment defined by the movement of the tracked spot between a starting point and an end point and control the one or more lighting devices to modify the light in said region based on at least one of the received user-defined parameters. determine a spot in said environment towards which the wireless communication device is directed to based on received position and orientation information indicative of a current position, respectively, orientation of the wireless communication device ; and during a second interaction, detect movement of the wireless communication device and track movement of the spot, based on orientation information indicative of a further orientation of the wireless communication device , to calculate a region in the environment defined by the movement of the tracked spot between a starting point and an end point and control the one or more lighting devices to modify the light in said region based on at least one of the received user-defined parameters. <EOS>