# Drag and drop and rotate

**URL:** <https://forum.kirupa.com/t/drag-and-drop-and-rotate/2656>\
**Category:** Uncategorized\
**Created:** [May 16, 2002, 4:30pm UTC](https://forum.kirupa.com/t/drag-and-drop-and-rotate/2656 "2002-05-16T16:30:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 16, 2002, 4:30pm UTC](https://forum.kirupa.com/t/drag-and-drop-and-rotate/2656/1 "2002-05-16T16:30:18Z")

</div>

Hello,\rI need to rotate a drag and drop object 360 degrees. I’ve got the drag and drop working fine, but I could only figure out how to rotate it 4 times using the set property and arrow keys on the key board. Is there another action I can use to rotate it 8 times at 45 degree angles, or will I have to use the go to action and make 8 frames for the object? I would like to be able to rotate it by pressing just one key on the key board.\r\rThank you,\rSunfilly

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 16, 2002, 8:06pm UTC](https://forum.kirupa.com/t/drag-and-drop-and-rotate/2656/2 "2002-05-16T20:06:07Z")

</div>

Sorry never mind I got it rotating with the shift key using 8 frames and go to actions on the button and stop action on the frames.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 17, 2002, 2:39am UTC](https://forum.kirupa.com/t/drag-and-drop-and-rotate/2656/3 "2002-05-17T02:39:21Z")

</div>

You might take some time to look at the \_rotation property in the Flash help file. You can use this property to set the angle of rotation on an item without using various frames to rotate it.
