# ScriptableObject.getPublicData

Returns (server) public data from a scriptableObject.

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
scriptableObject:getPublicData(  )
```

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

**Availability:** Server only

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `scriptableObject` | [ScriptableObject](../Game-Script-Environment/Userdata/ScriptableObject.md) | The scriptableObject. |

**Returns:**

| Type | Description |
| --- | --- |
| table | The public data. |
