> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## `find`

### Signature

```solidity
function find(StdStorage storage self) internal returns (uint256);
```

### Description

Finds an arbitrary storage slot given [`target`](/reference/forge-std/target.mdx), [`sig`](/reference/forge-std/sig.mdx), [`with_key`](/reference/forge-std/with_key.mdx)(s), and [`depth`](/reference/forge-std/depth.mdx).

Reverts with a message if unsuccessful.
