Rigidbody2D Move Position Not Working

I am trying to create a script that when the mouse is pressed moves a rigidbody. I have consulted the unity documentation on Rigidbody2D.MovePostion and I am still getting an error. I am wondering what I’m doing wrong and how I can fix it. If anyone has any help that would be greatly appreciated. Thanks in advance.
Here is what I have for code:

var Velocity : Vector2; 
var Object : Rigidbody2D ;


function Start () {

Object = GetComponent.<Rigidbody2D>();
}

function Update () {

if (Input.GetMouseButton(0))
{
  
Object.MovePosition(RearWheel.position + Velocity * Time.fixedDeltaTime);
    }
}

Your code declares the rigid body variable as “Object” (potentially confusing as there is an Object class as well).

But then you try to access “Frame”. Based on the entirety of the script you posted this looks like a case of not using the right variable?