# Image slider

**URL:** <https://forum.kirupa.com/t/image-slider/318720>\
**Category:** Uncategorized\
**Created:** [January 28, 2011, 4:02am UTC](https://forum.kirupa.com/t/image-slider/318720 "2011-01-28T04:02:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![na\_il](https://avatars.discourse-cdn.com/v4/letter/n/bc79bd/32.png) [@na\_il](https://forum.kirupa.com/u/na_il)\
**Post date:** [January 28, 2011, 4:02am UTC](https://forum.kirupa.com/t/image-slider/318720/1 "2011-01-28T04:02:18Z")

</div>

Im basically trying to make a image slider: I have images in a row and I want the image slider to add the last image to the front every time it goes off the right of the stage…How can I do this?

this is kind of how it is setup:

\*\*left end of stage- [COLOR=DarkOrange]\< [/COLOR]Img\_1 Img\_2 Img\_3 Img\_4 \*\***[COLOR=DarkOrange]\>[/COLOR] -Right end of stage**

So if i click on the right arrow (the orange arrow…^) Img\_4 will slide to the right off stage, and I want it to move to the beginning after it slides off so:

\*\*[COLOR=DarkOrange] [COLOR=Black] Img\_4[/COLOR] \< [/COLOR]Img\_0 Img\_1 Img\_2 Img\_3 \*\***[COLOR=DarkOrange]\>[/COLOR]**

hopefully you better understand what im asking now? 🙂 Thanks in advance

**ps.** Hopefully I wont have to tell each image to move to the front but perhaps there is a way to reference the image off stage (to the right) and automatically move it to the front without specific coding like: If\*\* Img\_4.x \> 1000 { Img\_4.x = Img\_0.x -Img\_0.width};\*\* 😉 know what I mean?
