public void SetTarget(Vector3 target) { if ((transform.position - target).magnitude > Accuracy) { LPAPIJoint.SetMouseJointTarget(ThingPtr, target.x, target.y); } }