Difference between revisions of "Body:getX"

m (add detail to function & parameter descriptions.)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
Get the x position of the body in world coordinates.
 
Get the x position of the body in world coordinates.
 +
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 9: Line 10:
 
=== Returns ===
 
=== Returns ===
 
{{param|number|x|The x position in world coordinates.}}
 
{{param|number|x|The x position in world coordinates.}}
 +
 
== See Also ==
 
== See Also ==
 
* [[parent::Body]]
 
* [[parent::Body]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Get the x position of the body.}}
+
{{#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