> **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.

## `changePrank`

### Status

`changePrank` is deprecated.

### Signature

```solidity
function changePrank(address who) internal;
```

### Description

Stops the active prank with `stopPrank` and passes address to `startPrank`.

Useful for starting a global prank in the `setUp` function and deactivating it in certain tests.
