# Help with dragging an object using mousePressed

**URL:** <https://discourse.processing.org/t/help-with-dragging-an-object-using-mousepressed/23968>\
**Category:** Coding Questions\
**Created:** [September 19, 2020, 6:36pm UTC](https://discourse.processing.org/t/help-with-dragging-an-object-using-mousepressed/23968 "2020-09-19T18:36:40Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)\
**Post date:** [September 24, 2020, 4:35pm UTC](https://discourse.processing.org/t/help-with-dragging-an-object-using-mousepressed/23968/25 "2020-09-24T16:35:30Z")

</div>

read this for the submit: [Help with using input values with variables along with if, else if code](https://discourse.processing.org/t/help-with-using-input-values-with-variables-along-with-if-else-if-code/23910/24)

when you got this use `split()`

---

_[View the full topic](https://discourse.processing.org/t/help-with-dragging-an-object-using-mousepressed/23968)._
