# Class MouseJointDef

java.lang.Object
com.codename1.gaming.physics.box2d.dynamics.joints.JointDef
com.codename1.gaming.physics.box2d.dynamics.joints.MouseJointDef

public class MouseJointDef extends JointDef

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `float`
  `dampingRatio`
  `float`
  `frequencyHz`
  `float`
  `maxForce`
  `final Vec2`
  `target`

  ### Fields inherited from class JointDef

  `bodyA, bodyB, collideConnected, type, userData`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `MouseJointDef()`

- ## Method Summary

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### target

    public final Vec2 target

  - ### maxForce

    public float maxForce

  - ### frequencyHz

    public float frequencyHz

  - ### dampingRatio

    public float dampingRatio

- ## Constructor Details

  - ### MouseJointDef

    public MouseJointDef()