# Need help with drag command

**URL:** <https://forum.kirupa.com/t/need-help-with-drag-command/12310>\
**Category:** Uncategorized\
**Created:** [January 29, 2003, 3:32pm UTC](https://forum.kirupa.com/t/need-help-with-drag-command/12310 "2003-01-29T15:32:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Audrius](https://avatars.discourse-cdn.com/v4/letter/a/848f3c/32.png) [@Audrius](https://forum.kirupa.com/u/Audrius)\
**Post date:** [January 29, 2003, 3:32pm UTC](https://forum.kirupa.com/t/need-help-with-drag-command/12310/1 "2003-01-29T15:32:26Z")

</div>

i need help to make obJect draggable. i.e a dynamic text box pLEASE.

THANX A MILLION

---

<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:** [January 29, 2003, 4:06pm UTC](https://forum.kirupa.com/t/need-help-with-drag-command/12310/2 "2003-01-29T16:06:00Z")

</div>

then add this code to the button:

```auto

on (press) {
	startDrag(this);
}
on (release) {
	stopDrag();
}

```

Cheers :run:
