get location
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
get location
Hi, is there a way that i can get the location of an object, this would be helpful for example if the location of the objects a random location and i want to get the location if something happens for example, thanks!
Samuele.
Re: get location
Hi.
The "location" property does just that. And if you did not know about that, consider looking at such things as the "topRight", "Bottom", etc.
Craig
The "location" property does just that. And if you did not know about that, consider looking at such things as the "topRight", "Bottom", etc.
Craig
Re: get location
Also look at the "ScreenLoc" function. It often is more useful, depending on what you are up to.
Craig
Craig
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: get location
And is also listed in the Dictionary under "location"! 

-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: get location
Some people obviously feel that the Forums are the 'go to' place rather
than the Dictionary. This might be because the Dictionary presupposes
you know the term you are looking for.
than the Dictionary. This might be because the Dictionary presupposes
you know the term you are looking for.
Re: get location
What do you think, now before posting i always check the dictionary first, since i can imagine you yelling at me "check the dictionary!"

no, but joking aside, I looked for it under location but I didn't find it, or maybe i just didn't understand what i'd found.
Samuele.
-
- Livecode Opensource Backer
- Posts: 10097
- Joined: Fri Feb 19, 2010 10:17 am
Re: get location
It isn't always easy.maybe i just didn't understand what i'd found
