# Drag and Drop Element

Dragging an element into another element in the form of "Drag and Drop".

<table data-header-hidden><thead><tr><th width="257" valign="top"></th><th width="296" valign="top"></th></tr></thead><tbody><tr><td valign="top">Draggable Element</td><td valign="top">[Selector] The identifier of the element that needs to be moved.</td></tr><tr><td valign="top">Target Element</td><td valign="top">[Selector] The identifier of the element to which it needs to be moved.</td></tr><tr><td valign="top">Modifier Key</td><td valign="top"><p>[Text] Specifies the modifier key that will be held down while dragging.</p><p>Possible values:</p><ul><li>"CTRL",</li><li>"SHIFT",</li><li>"ALT",</li><li>"SPACE".</li></ul><p>You can specify a key combination, for example, "CTRL+SHIFT".</p></td></tr><tr><td valign="top">Process ID</td><td valign="top"><p>[Link] A variable that stores the process identifier. Indicates which application to work with.</p><p>If the specified application is minimized or its window is covered by other windows, it will be brought to the foreground. When working with browsers, the process ID additionally points to the specific browser tab that the block should work with.</p><p>If the property is left empty, or if the process ID variable was not previously assigned at the time of launching the application or opening the browser, the application and browser tab will be determined from the content of the corresponding selector line.</p><p>The process ID can be obtained, for example, using the "Launch Application" or "Get Process" blocks.</p></td></tr><tr><td valign="top">Delay Before</td><td valign="top">[Number] Delay in seconds before executing the block.</td></tr><tr><td valign="top">Delay After</td><td valign="top">[Number] Delay in seconds after executing the block.</td></tr><tr><td valign="top">Autoscroll</td><td valign="top">If selected, automatic scrolling will occur to the element that is outside the visible part of the page.</td></tr><tr><td valign="top">Wait Time for Draggable Element</td><td valign="top">[Number] Maximum wait time for the draggable element in seconds.</td></tr><tr><td valign="top">X Offset of Draggable Element</td><td valign="top">[Number] Relative offset on the X coordinate from the top left corner of the draggable element.</td></tr><tr><td valign="top">Y Offset of Draggable Element</td><td valign="top">[Number] Relative offset on the Y coordinate from the top left corner of the draggable element.</td></tr><tr><td valign="top">Wait Time for Target Element</td><td valign="top">[Number] Maximum wait time for the target element in seconds.</td></tr><tr><td valign="top">X Offset of Target Element</td><td valign="top">[Number] Relative offset on the X coordinate from the top left corner of the target element.</td></tr><tr><td valign="top">Y Offset of Target Element</td><td valign="top">[Number] Relative offset on the Y coordinate from the top left corner of the target element.</td></tr><tr><td valign="top">Wait Time After Mouse Click</td><td valign="top">[Number] Wait time after clicking the mouse button (in seconds).</td></tr><tr><td valign="top">Error Handling Level</td><td valign="top"><p>Select the error handling level. Possible values:</p><ul><li>"Default" - by default;</li><li>"Ignore" - errors are ignored;</li><li>"Handle" - errors are handled.</li></ul><p>If "Default" is selected, the value of the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Message Level</td><td valign="top"><p>Select the message level that the blocks will output during execution. Possible values:</p><ul><li>"Default" - by default;</li><li>"Release" - output is disabled;</li><li>"Debug" - outputs main information;</li><li>"Detailed" - outputs detailed information.</li></ul><p>If "Default" is selected, the value of the "Start" block of this diagram will be used.</p></td></tr><tr><td valign="top">Error Text</td><td valign="top">[Text] Returns detailed information about the error in case of incorrect execution of the block.</td></tr></tbody></table>
