# Multiple draggable images (drags once and locks)

**URL:** https://discourse.processing.org/t/multiple-draggable-images-drags-once-and-locks/6001
**Category:** Libraries
**Created:** [November 27, 2018, 5:29pm UTC](https://discourse.processing.org/t/multiple-draggable-images-drags-once-and-locks/6001 "2018-11-27T17:29:33Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [December 5, 2018, 3:15am UTC](https://discourse.processing.org/t/multiple-draggable-images-drags-once-and-locks/6001/5 "2018-12-05T03:15:23Z")

</div>

Were you able to resolve this, or are you still working on this problem? It looks like you want to know how to move from a series of img variables to an **array** of images.

```
PImage[] imgs = new PImage[30];

```

You might be interested in some of the array reference pages, tutorials, and examples:

- [https://processing.org/reference/Array.html](https://processing.org/reference/Array.html)
- [https://processing.org/reference/arrayaccess.html](https://processing.org/reference/arrayaccess.html)
- [https://processing.org/tutorials/arrays/](https://processing.org/tutorials/arrays/)
- [https://processing.org/examples/array.html](https://processing.org/examples/array.html)

---

_[View the full topic](https://discourse.processing.org/t/multiple-draggable-images-drags-once-and-locks/6001)._
