{{newin|[[0.9.0]]|090|type=method}}
Sets the target linear offset between the two Bodies the Joint is attached to.
== Function ==
=== Synopsis ===
<source lang="lua">
MotorJoint:setLinearOffset( x, y )
</source>
=== Arguments ===
{{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.}}
=== Returns ===
Nothing.
== See Also ==
* [[parent::MotorJoint]]
* [[MotorJoint:getLinearOffset]]
[[Category:Functions]]
{{#set:Description=Sets the target linear offset between the two Bodies the Joint is attached to.}}
== Other Languages ==
{{i18n|MotorJoint:setLinearOffset}}