An x-ray apparatus comprising: an x-ray source adapted to emit an x-ray beam, a detector adapted to receive the x-ray beam of the x-ray source, wherein the x-ray source is adapted to be moved in relation to a first portion of the x-ray apparatus, wherein the detector is adapted to be moved in relation to a first portion of the x-ray apparatus, the x-ray apparatus further comprising a control unit for controlling the movement of the x-ray source and detector, wherein the x-ray source and the detector are adapted to rotate in relation to a first portion of the x-ray apparatus, wherein further the x-ray beam is directed essentially towards the detector during the movement of the x-ray source and the detector, wherein the control unit is adapted to receive external data, wherein the x-ray apparatus further comprises at least one position adjustable compression paddle (107a, 107b), and a means for determining the position of the at least one compression paddle adapted to output paddle position data corresponding to the position of the at least one compression paddle, and wherein the external data, which is received by the control unit, comprises paddle position data, characterized in that: the control unit is further adapted to control the movement of the x-ray source and the detector based on external data, and the control unit is adapted to control a scan movement and/or the remainder of a scan movement of the x-ray source and the detector based on the external data, such that a tomosynthetic scan movement is performed, wherein tomographic projection angles of an object placed in the x-ray beam are optimized based on the external data. an x-ray source adapted to emit an x-ray beam, a detector adapted to receive the x-ray beam of the x-ray source, wherein the x-ray source is adapted to be moved in relation to a first portion of the x-ray apparatus, wherein the detector is adapted to be moved in relation to a first portion of the x-ray apparatus, the x-ray apparatus further comprising a control unit for controlling the movement of the x-ray source and detector, wherein the x-ray source and the detector are adapted to rotate in relation to a first portion of the x-ray apparatus, wherein further the x-ray beam is directed essentially towards the detector during the movement of the x-ray source and the detector, wherein the control unit is adapted to receive external data, wherein the x-ray apparatus further comprises at least one position adjustable compression paddle (107a, 107b), and a means for determining the position of the at least one compression paddle adapted to output paddle position data corresponding to the position of the at least one compression paddle, and wherein the external data, which is received by the control unit, comprises paddle position data, characterized in that: the control unit is further adapted to control the movement of the x-ray source and the detector based on external data, and the control unit is adapted to control a scan movement and/or the remainder of a scan movement of the x-ray source and the detector based on the external data, such that a tomosynthetic scan movement is performed, wherein tomographic projection angles of an object placed in the x-ray beam are optimized based on the external data. the control unit is further adapted to control the movement of the x-ray source and the detector based on external data, and the control unit is adapted to control a scan movement and/or the remainder of a scan movement of the x-ray source and the detector based on the external data, such that a tomosynthetic scan movement is performed, wherein tomographic projection angles of an object placed in the x-ray beam are optimized based on the external data.