Difference between revisions of "B2.Body:getPosition"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
=== Description ===
 
=== Description ===
 
Returns the world body origin position.
 
Returns the world body origin position.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number) = b2.Body:getPosition()
 
(number), (number) = b2.Body:getPosition()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 18:20, 12 July 2023