Having a 2d circle object move when another object rotates and touches the circle object

I am trying to use a “rectangle” object to put force against a circle object.

Basically, my rectangle object should be rotating to force this circle to move left or right on screen. The rotation of the rectangle has been done, and it rotates left and right to certain degrees. The circle should use gravity and the amount of rotation of the rectangle should increase the distance the circle moves on the screen, and should the circle move off the rectangle then it should fall off screen. I have a Rigidbody 2D and a Circle Collider 2D on the circle and a Rigidbody 2D and a Box Collider 2D on the rectangle. So far, the circle is just moving in the y direction when I rotate the rectangle to try to move the circle. I think the problem is among these components and/or in the code I have for the circle.

Here’s the code I currently have:

Rigidbody2D rb2D;
float move = 1f;

void Awake()
{
    rb2D = gameObject.GetComponent<Rigidbody2D>();
}

void FixedUpdate()
{
    rb2D.AddForce(transform * move);
}

Any advice would be greatly appreciated. Also, I did check the Freeze Rotation Z in the constraints for the circle’s Rigidbody. Just pointing this out in case this also could be the issue.

Your code in FixedUpdate doesn't compile.