> 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/varvalue/varvalue.get_defining_points.md).

# VarValue.get\_defining\_points()

Returns the points which define the variable.

`get_defining_points() →` [`APIList`](/glider-ide/api/iterables/apilist.md)`[`[`Point`](/glider-ide/api/point/point.md)`]`

## Query Example

```python
from glider import *


def query():
  instructions = Instructions().exec(1, 2)

  for instruction in instructions:
    components = instruction.get_components()
    for component in components:
      if isinstance(component, VarValue):
        defining_points = component.get_defining_points()
        print(defining_points)
        if len(defining_points):
          print(defining_points[0].source_code())

  return instructions
```

## Output Example

<figure><img src="https://2237101709-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDX4Ojc4j1ef51TUAtYOx%2Fuploads%2FisJeSAqWbdWM8K5rUqkq%2Fimage.png?alt=media&amp;token=519228b7-461d-42b9-9ed6-017f423c4c97" alt=""><figcaption></figcaption></figure>
