# Setinterval problem

**URL:** <https://forum.kirupa.com/t/setinterval-problem/198565>\
**Category:** flash\
**Created:** [August 26, 2006, 4:10am UTC](https://forum.kirupa.com/t/setinterval-problem/198565 "2006-08-26T04:10:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daytonatkf](https://avatars.discourse-cdn.com/v4/letter/d/9fc29f/32.png) [@daytonatkf](https://forum.kirupa.com/u/daytonatkf)\
**Post date:** [August 26, 2006, 4:10am UTC](https://forum.kirupa.com/t/setinterval-problem/198565/1 "2006-08-26T04:10:00Z")

</div>

i need to move an object to a location (x,y), and then in that location (x,y), i want the object to hold for few seconds (e.g. 2 or 3 seconds), then the object move again to other location (x1,y1)

setinterval (move, 1)  
function move ()

{

//move object to (x,y)

}

then?? i stuck here, cause i use another setinterval but it doesnt work, thanks fro reply
