# FrictionJoint:setMaxTorque

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

Sets the maximum friction torque in Newton-meters.

## Function

### Synopsis

    FrictionJoint:setMaxTorque( torque )

### Arguments

`number torque`
  Maximum torque in Newton-meters.

### Returns

Nothing.

## See Also

- FrictionJoint
- FrictionJoint:getMaxTorque

##

Category:

- Functions