[get] %loc:LOCATION% x
Returns the X coordinate of a location as a double.
set px to player location x
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
<loc> x
get <loc> x
new location in %w:WORLD% at %x:INT% %y:INT% %z:INT%
new location at %x:INT% %y:INT% %z:INT% in %w:WORLD%
[get] %loc:LOCATION% y
[get] %loc:LOCATION% z
distance between %a:LOCATION% and %b:LOCATION%
[get] %loc:LOCATION% world