> ## Documentation Index
> Fetch the complete documentation index at: https://rive.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bucket Tool

> Fill enclosed areas of a shape with color.

export const VideoEmbed = ({src, maxWidth}) => {
  return <div style={{
    height: "100%"
  }}>
      <video src={src} autoPlay loop muted playsInline style={{
    width: "100%",
    maxWidth: maxWidth || "100%",
    height: "100%",
    borderRadius: 0,
    margin: 0,
    display: "block",
    objectFit: "cover",
    backgroundColor: "transparent"
  }} />
    </div>;
};

Use the **Bucket Tool** to quickly change the solid fill color of a shape.

## Using the Bucket Tool

<Steps>
  <Step>
    Select the **Bucket Tool** or press <kbd>Shift</kbd> + <kbd>U</kbd>.
  </Step>

  <Step>
    Choose a color from the popup.
  </Step>

  <Step>
    Click an enclosed area of a shape to change the color of all its solid fills.
  </Step>
</Steps>

<VideoEmbed src="https://static.rive.app/video/bucket-tool.mp4" />

<Note>
  The Bucket Tool only affects solid fills. It does not modify gradient fills or create a fill if one doesn't already exist.
</Note>
