A method for controlling the crane of a working machine by using boom tip control, in which method the crane comprises at least two booms and a head of the crane, which booms are connected to the working machine and to each other in an articulated manner, and which booms are moved in relation to the working machine and each other by means of actuators controlled by a control system of the working machine , and in which method - direction and speed of motion of the head of the crane, controlled by a driver applying controls in the working machine , are achieved by applying speeds of the booms of the crane , - wherein the crane comprises a hoisting boom connected at its first end in an articulated manner to the working machine, a stick boom connected at its first end in an articulated manner to the second end of the hoisting boom , and an extension boom connected to the stick boom at its second end and movable linearly outwards and inwards in the longitudinal direction of the stick boom - wherein the working machine is a forest machine , characterized in that - the speeds of the booms of the crane are controlled automatically in at least one of the following manners in the respective situations implementing prioritizations of movements of the booms: - (i) when the head of the crane is moved towards the working machine, the extension boom is withdrawn into the stick boom as fast as possible; - (ii) when the head of the crane is farther than a predetermined maximum limit distance from the working machine, the head of the crane is lowered by applying the hoisting boom and the lowering movement performed by the stick boom is limited; - (iii) when the head of the crane is farther than a predetermined maximum limit distance, the head of the crane is hoisted by applying the hoisting boom so that the hoisting movement performed by the stick boom is limited correspondingly. - direction and speed of motion of the head of the crane, controlled by a driver applying controls in the working machine , are achieved by applying speeds of the booms of the crane , - wherein the crane comprises a hoisting boom connected at its first end in an articulated manner to the working machine, a stick boom connected at its first end in an articulated manner to the second end of the hoisting boom , and an extension boom connected to the stick boom at its second end and movable linearly outwards and inwards in the longitudinal direction of the stick boom - wherein the working machine is a forest machine , - the speeds of the booms of the crane are controlled automatically in at least one of the following manners in the respective situations implementing prioritizations of movements of the booms: - (i) when the head of the crane is moved towards the working machine, the extension boom is withdrawn into the stick boom as fast as possible; - (ii) when the head of the crane is farther than a predetermined maximum limit distance from the working machine, the head of the crane is lowered by applying the hoisting boom and the lowering movement performed by the stick boom is limited; - (iii) when the head of the crane is farther than a predetermined maximum limit distance, the head of the crane is hoisted by applying the hoisting boom so that the hoisting movement performed by the stick boom is limited correspondingly. - (i) when the head of the crane is moved towards the working machine, the extension boom is withdrawn into the stick boom as fast as possible; - (ii) when the head of the crane is farther than a predetermined maximum limit distance from the working machine, the head of the crane is lowered by applying the hoisting boom and the lowering movement performed by the stick boom is limited; - (iii) when the head of the crane is farther than a predetermined maximum limit distance, the head of the crane is hoisted by applying the hoisting boom so that the hoisting movement performed by the stick boom is limited correspondingly. <EOS>