According to one exemplary embodiment, the invention relates to a method (100) for controlling lighting, which comprises using a portable pointer device to determine (310), in the pointer device intended for the focusing of lighting, its position for establishing position data, and transmitting (150) the position data to a control unit, which is intended for controlling a lighthead and which controls the lighthead in such a way that the lighthead produces lighting for an object from a direction determined by the position data and location data, said location data having been established by determining a location of the pointer device in relation to the lighthead.