{{newin|[[0.8.0]]|080|type=method}}
Sets a new frequency.

== Function ==
=== Synopsis ===
<source lang="lua">
MouseJoint:setFrequency( freq )
</source>
=== Arguments ===
{{param|number|freq|The new frequency in hertz.}}
=== Returns ===
Nothing.

== See Also ==
* [[parent::MouseJoint]]
* [[MouseJoint:getFrequency]]
[[Category:Functions]]
{{#set:Description=Sets a new frequency.}}
{{#set:Since=080}}
== Other Languages ==
{{i18n|MouseJoint:setFrequency}}