Page 1 of 1

Separate X and Y location

Posted: Fri Jun 06, 2014 10:07 pm
by croivo
How to separate the position of some object to X and Y? I have this code:

Code: Select all

put the location of me into field myField
But I only want X position! Without Y...

Re: Separate X and Y location

Posted: Fri Jun 06, 2014 10:12 pm
by sefrojones
try this:

Code: Select all

 put item 1 of the location me into field "MyField"

Re: Separate X and Y location

Posted: Fri Jun 06, 2014 10:14 pm
by croivo
Yup... that's it! Thanks!