Hi I am making a game in which the sprite moves when the button is pressed. But I want it to not go beyond a certain coordinate. I am attaching the code below Pls suggest ways to rectify it. Thank you I also tried leaving the "then" blank but it doesn't seem to work
![](https://community.appinventor.mit.edu/uploads/default/original/3X/1/5/15d656f6627c9351013c50f1d7a4a1db66fbc1e3.png)
Canvas Image not showing and Gravity Affecting image sprite Move To Command - MIT App Inventor Help - MIT App Inventor Community
![](https://qph.cf2.quoracdn.net/main-qimg-410b7c14506b660d066578a4f99b716e.webp)
Which is better, MIT App Inventor or Thunkable? - Quora
![](https://community.appinventor.mit.edu/uploads/default/original/3X/b/f/bfc0d03bf4585ab92cbea559d0df5ec3c0e8976e.png)
Image Sprite Speed Bug? - MIT App Inventor Help - MIT App Inventor Community
![](https://www.mdpi.com/sensors/sensors-22-09778/article_deploy/html/images/sensors-22-09778-g009.png)
Sensors, Free Full-Text
![](https://community.appinventor.mit.edu/uploads/default/original/2X/5/5f71bffdea8524af91c81b7674e74e3a51c8d8a9.jpeg)
Move to a point(x,y) smoothly - MIT App Inventor Help - MIT App Inventor Community
![](https://community.appinventor.mit.edu/uploads/default/original/2X/f/faf19f3c63fc3365510d0cf6bb2dc3a0ca1b7e26.png)
Move to a point(x,y) smoothly - MIT App Inventor Help - MIT App Inventor Community
![](https://community.appinventor.mit.edu/uploads/default/original/2X/0/09fa4a73ce0bb748c4978408397af71efd67d297.png)
Trying to make different ImageSprites collide together - MIT App Inventor Help - MIT App Inventor Community
![](https://www.opensourceforu.com/wp-content/uploads/2016/03/Image_6.jpg)
/wp-content/uploads/2016/03/
Need help on a sprite image detector - MIT App Inventor Help - MIT App Inventor Community
How do you make image sprite not go beyond a certain coordinate? - MIT App Inventor Help - MIT App Inventor Community
What are some hidden features of the App Inventor 2? - Quora
![](https://drek4537l1klr.cloudfront.net/beer/Figures/147fig01_alt.jpg)
Chapter 7. Clocks and timers - Hello App Inventor!: Android programming for kids and the rest of us
![](https://community.appinventor.mit.edu/uploads/default/original/3X/3/b/3bced76b8fe4564b9a15762a0392e5d42d17c9d9.png)
Image sprites are not position according where they are put - MIT App Inventor Help - MIT App Inventor Community
![](https://community.appinventor.mit.edu/uploads/default/original/3X/a/d/ad6421ac993bf11ef870d546c2d54d4498469956.jpeg)
Problem with sprite and ball collide - MIT App Inventor Help - MIT App Inventor Community
![](https://www.opensourceforu.com/wp-content/uploads/2016/03/Image_9.jpg)
/wp-content/uploads/2016/03/
![](https://savacoolandsons.blob.core.windows.net/photos/23640/23640-k9x6.jpeg)
![](https://img.shopstyle-cdn.com/sim/e9/23/e9233f02a80e404d524321ad13ed3dda_best/dprada-fajas-11215-full-body-shaper-post-surgery-abdomen-compression-garment-with-bra-medium.jpg)
![](https://cdn.myshoptet.com/usr/www.obchod-na-webu.cz/user/shop/big/20312-3_beister-zdravotni-kompresni-puncochy-damske-dlouhe--20-30-mmhg--s-otevrenou-spickou--4.jpg?646d001b)
![](https://media.post.rvohealth.io/wp-content/uploads/sites/2/2020/06/GRT-female-underwear-bathroom-sitting-on-toilet-1296x728-header.jpg)