Difference between revisions of "Body:getX"

m (1 revision: Importing from potato (again).)
m (add detail to function & parameter descriptions.)
Line 1: Line 1:
 
+
Get the x position of the body in world coordinates.
Get the x position of the body.
 
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 9: Line 8:
 
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=Get the x position of the body.}}
 
{{#set:Description=Get the x position of the body.}}

Revision as of 06:00, 13 August 2010

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