> 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/point/globalpoint/globalpoint.get_variable.md).

# GlobalPoint.get\_variable()

Abstract method that returns object of variable

`get_variable() →` [`GlobalVariable`](/glider-ide/api/variables/globalvariables.md)

## Query Example

```python
from glider import *


def query():
    instructions = (
        Functions()
        .with_name("_msgSender")
        .exec(1)
        .instructions()
        .exec()
    )

    dfs = instructions.backward_df()
    for df in dfs:
      print(df.get_variable())
      print(df.source_code())

    return instructions
```

## Example Output

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2F9D8YmmIhEFUwGelIDj4M%2FScreenshot%202025-09-10%20at%2010.52.07%E2%80%AFAM.png?alt=media&amp;token=7e6d1d6d-e611-4266-a886-e487d217df2b" alt=""><figcaption></figcaption></figure>
