> For the complete documentation index, see [llms.txt](https://obvious-game.gitbook.io/soap/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obvious-game.gitbook.io/soap/soap-core-assets/scriptable-dictionary/callbacks.md).

# Callbacks

The Scriptable Dictionary has several events that you can subscribe to by code. &#x20;

1. OnItemAdded/ OnItemRemoved&#x20;

Sends the key and value added/removed as an argument.

2. Modified

This event is triggered whenever an entry is added, removed or modified.

Modifying a dictionary is when you access the value through the key like so:\
\_dictionary\[Key] = newValue;&#x20;

or \_dictionary\[Key] += newValue;
