Move an Object Outside the Screen

Creating Games? Developing something for fun?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
itay1023
Posts: 68
Joined: Fri Sep 28, 2012 1:44 pm

Move an Object Outside the Screen

Post by itay1023 » Fri Dec 27, 2013 5:15 pm

Hi all,
What code can move (or set the loc...) of an object to a point outside the screen rect, so other object could'nt collide it?

Best regards,
Itay :)

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7393
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Move an Object Outside the Screen

Post by jacque » Fri Dec 27, 2013 7:11 pm

Use negative numbers. That places the object outside the upper left corner of the card:

set the loc of <obj> to -100,-100
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

itay1023
Posts: 68
Joined: Fri Sep 28, 2012 1:44 pm

Re: Move an Object Outside the Screen

Post by itay1023 » Fri Dec 27, 2013 9:03 pm

Thank you very much :)

Post Reply