Dragging Objects

I have a game where I am dragging objects to a space on a gameboard. That is working fine. I notice that I can drag the objects off the screen also. How can I prevent this? I have put up static border elements and I still can drag them off the screen. I looked at the drag me tutorial and the drag platforms tutorial and the same thing is happening in those tutorials. Can I stop it from doing that?

Michelle [import]uid: 72372 topic_id: 13015 reply_id: 313015[/import]

well, you won’t be able to do that on an actual device. :wink:

you are using the simulator - but on an actual device it won’t happen.

you can’t drag off the screen can you on a device?

:wink:

c. [import]uid: 24 topic_id: 13015 reply_id: 47785[/import]

No I can’t but it gets pretty close:-) If that’s okay, I’ll submit like that. That was the only thing that concerned me. Thanks Carlos! [import]uid: 72372 topic_id: 13015 reply_id: 47787[/import]

Give this a look…

http://techority.com/2011/03/12/corona-for-newbies-part-3/

Peach does a great job explaining how to wrap the screen. I had the same problem as you and this tutorial was a life saver and it’s SO simple. Look for the “wrap it” function.

Good Luck! [import]uid: 59140 topic_id: 13015 reply_id: 47801[/import]

Thank you! [import]uid: 72372 topic_id: 13015 reply_id: 47936[/import]