Skip to main content
Question

How to implement drag and drop in Automation Anywhere?

  • April 28, 2026
  • 2 replies
  • 16 views

I am trying to automate a scenario where I need to perform a drag-and-drop action (for example, dragging an appointment to the service calendar).

However, I could not find any direct drag-and-drop command in Automation Anywhere.

Could anyone please guide me on:

Is there any built-in command available for drag-and-drop?

If not, what is the recommended approach to achieve this?

Are there any best practices to make it more reliable (avoiding coordinate-based failures)?

Any examples or suggestions would be really helpful.

2 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+6
  • Automation Anywhere Team
  • April 28, 2026

@jerinjoy Drag and drop is accomplished using the Mouse package.

There are actions for Move, Click, and Scroll. Look at the Click. There is “button down” and “button up”. Essentially, you can use a Click with button down at the first coordinates, then another Click with button up at the second coordinates.

 


Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+6
  • Automation Anywhere Team
  • April 28, 2026

@jerinjoy You can capture coordinates from objects by using a Recorder: Capture → Get Property → and getting the X and Y coordinates from there. Some adjustments to the coordinates may be necessary going from HTML coordinates to Mouse package coordinates.

You may wish to find a better way than using the UI for this drag-and-drop option. Is there an API available for this application?