Difference between revisions of "Body:getX"

 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
Get the x position of the body in world coordinates.
  
 
== Function ==
 
== Function ==
Line 9: Line 9:
 
None.
 
None.
 
=== Returns ===
 
=== Returns ===
{{param|number|x|The x position.}}
+
{{param|number|x|The x position in world coordinates.}}
 +
 
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Get the x position of the body in world coordinates.}}
 +
{{#set:Since=000}}
 +
 
 +
== Other Languages ==
 +
{{i18n|Body:getX}}

Latest revision as of 10:42, 25 March 2011

Get the x position of the body in world coordinates.

Function

Synopsis

x = Body:getX( )

Arguments

None.

Returns

number x
The x position in world coordinates.

See Also


Other Languages