# 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;
