> For the complete documentation index, see [llms.txt](https://renownedgames.gitbook.io/ai-tree/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://renownedgames.gitbook.io/ai-tree/nodes/tasks/player-prefs/set-string.md).

# Set String

Node description and basic instructions

### Description

Sets the string value of the preference identified by the given key.

**To create it**, right-click in the editor and select <mark style="color:purple;">Create Node/Tasks/Player Prefs/Set String</mark>

This task node has a number of fields, that are highlighted in picture below.

<figure><img src="https://2203000093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGOxTM7Aj9oiVaIINrEkE%2Fuploads%2FjPMTBkshhp4cjMDrCMSv%2Fimage.png?alt=media&amp;token=717317d5-5c76-4dd3-898a-3eed74ce4ed4" alt=""><figcaption></figcaption></figure>

### Fields

| Name              | Description                             |
| ----------------- | --------------------------------------- |
| Node Name         | Name of node.                           |
| Ignore About Self | Whether node ignores abort self or not. |
| Key               | Key name in string representation.      |
| Value             | Value to sets.                          |
