> For the complete documentation index, see [llms.txt](https://docs.r.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.r.xyz/glider-ide/api/filters/globalfilters/globalfilters.block_difficulty.md).

# GlobalFilters.BLOCK\_DIFFICULTY

The BLOCK\_DIFFICULTY property is used to add a filter to include or exclude functions that calls `block.difficulty`.&#x20;

### Query Example

```python
from glider import *


def query():
  functions = (
    Functions()
    .with_globals(GlobalFilters.BLOCK_DIFFICULTY)
    .exec(1, 4)
  )
  
  return functions
```

### Example Output

<figure><img src="/files/5htkTqRxiD29u54y7E0B" alt=""><figcaption></figcaption></figure>
