# GimpUi.BrushSelectButton.prototype.get_brush

    function get_brush(): [return_value: String, opacity: Number(gdouble), spacing: Number(gint), paint_mode: Gimp.LayerMode] {
        // Gjs wrapper for gimp_brush_select_button_get_brush()
    }

Retrieves the properties of currently selected brush.

Since 2.4

return_value

  an internal copy of the brush name which must not be freed.

opacity

  Opacity of the selected brush.

spacing

  Spacing of the selected brush.

paint_mode

  Paint mode of the selected brush.