{{newin|[[0.9.0]]|090|type=method}}
Gets the target linear offset between the two Bodies the Joint is attached to.
== Function ==
=== Synopsis ===
<source lang="lua">
x, y = MotorJoint:getLinearOffset( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|number|x|The x component of the target linear offset, relative to the first Body.}}
{{param|number|y|The y component of the target linear offset, relative to the first Body.}}
== See Also ==
* [[parent::MotorJoint]]
* [[MotorJoint:setLinearOffset]]
[[Category:Functions]]
{{#set:Description=Gets the target linear offset between the two Bodies the Joint is attached to.}}
== Other Languages ==
{{i18n|MotorJoint:getLinearOffset}}