Creat body in Matlab

Al salam alekam
In the attached picture I tried to use bottom to drage 2D body like circle or rectangle to a point in the middle of fram by mouse
how I have to creat body (where I should start with matlab).

Thanks a lot

السلام عليكم

فين الصوره؟؟؟؟؟؟

There is no picture attached