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!
[import]uid: 10763 topic_id: 16640 reply_id: 316640[/import]