> 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/scene-documentation/1_scriptablevariables/variable-reference.md).

# Variable Reference

1\_ScriptableVariable

You might have noticed that \_maxHealth’s type is a FloatReference instead of a FloatVariable. It allows you to choose between a local value or scriptable variable. &#x20;

This can be useful if you have multiple objects that share the same components, let’s say different cars that share the same controller. Each car can have a reference to a FloatReference for the speed. The player car will choose a FloatVariable and the other cars can just have a local variable.&#x20;

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcV-qy9IYrGT55ObAKKkavblRTQOXCYDkowUFjbft0eM-gmI6sN7n7X-rgPGOAJGa7UuY0dK1nxa_UJI-eA0FqT5sx5ZI6a1lVyYweSQo3G3o8u_VKBuLHXsRSx6-e872vcWYVPvdUhLRupJ785S4HZmOzj?key=ZJq93Y9COvgDvT7H30W5KQ" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcSPtCSRitGe1n-pa_vXd3V_YWdzbxsYB0bvVYdJlB82C5iuEc7Y6tjsr3MsviNIU-ZnBqXFyfOz3Qf1Siuja6l8A9sD7r_-jbzTHZdjR1Y5-obHl9r9VxO_TCyfrcAMfUoUnVEpSJHlocotnXcm1LSnSo7?key=ZJq93Y9COvgDvT7H30W5KQ" alt="" width="375"><figcaption></figcaption></figure>

All default types included in Soap have their corresponding reference scripts.&#x20;

&#x20;

<br>
