---
description: Returns the points which define the variable.
---

# VarValue.get\_defining\_points()

`get_defining_points() →` [`APIList`](../../iterables/apilist)`[`[`Point`](../point)`]`

## 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&#x26;token=519228b7-461d-42b9-9ed6-017f423c4c97" alt=""><figcaption></figcaption></figure>

