# ScriptableObject.id

Returns the id of a scriptable object.

**Kind:** Member

**Environments:** Game

## Game

[Open the full Game reference](../Game-Script-Environment/Userdata/ScriptableObject.md#id)

### Get

Returns the id of a scriptable object.

**Returns:**

| Name | Type | Description |
| --- | --- | --- |
| `id` | number | The scriptableObject id. |
