l need help with code... l have been having errors

private Rigidbody2D myRigidBody;

  [SerializeField]
 
private class movementSpeed;
 
// Use this for initialization
  void Start ()
  { 
  myRigidBody = GetComponent<Rigidbody2D> ();
  }
 
//Up is called once per frame
  void fixedUpdate ()
  {
  float horizontal = Input.GetAxis ("Horizontal"); 
  Debug.Log(horizontal);
 
Handle.Movement ();(horizontal);
  }
 
private void Handlemovement(float horizontal)
  {
  myRigidBody.velocity = new Vector2 (horizontal, myRigidBody.velocity.y);
  }
 }

Hello, @issygirl. It is a bit difficult to know what the errors are with little information about them. However, I spot some of the errors.

The first error is in the name of FixedUpdate function. The letter f in the function name has to be uppercase void FixedUpdate().

The other error is this: Handle.Movement ();(horizontal);. It’s located in the FixedUpdate function. To fix resolve the error, just change it to Handlemovement( horizontal );.

I hope that’s all of your errors. If not, please provide us more information about the error. Thanks!

oooh, thanks very much … l will try that now