第12 步:让我们也使用鼠标的位置来改变圆圈的大小!
- 在图形选项卡中,单击并拖出Set Diameter 。
- 将其缩进到mouse_move中,在···· rect_display下方。更新(矩形区域) ¬
- 将.set_diameter()之前的名称从sprite更改为my_circle 。
- 将.set_diameter()中的参数从50更改为x 。
To navigate the page using the TAB key, first press ESC to exit the code editor.