# ScopeId

Class · category: Graphics

Source: https://github.com/playcanvas/engine/blob/970d89f6d3bc6667f4e1f88153abd6e7e82ed52c/src/platform/graphics/scope-id.js#L8

The scope for a variable.

## Constructors

### constructor

```ts
new ScopeId(name: string)
```

Create a new ScopeId instance.

**Parameters**

- `name` (`string`): The variable name.

## Properties

### name

```ts
name: string
```

The variable name.

## Methods

### getValue

```ts
getValue(): any
```

Get variable value.

**Returns** `any`: The value.

### setValue

```ts
setValue(value: any): void
```

Set variable value.

**Parameters**

- `value` (`any`): The value.
