Circle draw on artboard

I am new at figma. I am drawing a circle on artboard and when I am trying to move it the edge of the frame, I want it to just appear on frame not on artboard and look like a semi circle. Please help me out
figma

Select your frame and in the Properties panel check “Clip content”.

Thank you so much for your help. Issue Solved