Get Screen Width w/ object.contentBounds

Hey everyone,

I'm trying to determine the width of a device screen.
My game has drag-able objects that can, as of right now, be dragged right off the edge of the screen and lost forever.

Would I use

object.contentBounds

to determine the edges?

Thanks!

views:1459 update:2011/10/22 9:46:13
corona forums © 2003-2011