<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Globals on Kustom HQ</title><link>https://docs.kustom.rocks/categories/Globals/</link><description>Recent content in Globals on Kustom HQ</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.kustom.rocks/categories/Globals/index.xml" rel="self" type="application/rss+xml"/><item><title>Read past values of a global with GH</title><link>https://docs.kustom.rocks/docs/recipes/globals/globalhistory/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.kustom.rocks/docs/recipes/globals/globalhistory/</guid><description>&lt;h1 id="read-past-values-of-a-global-with-gh">Read past values of a global with GH&lt;a class="anchor" href="#read-past-values-of-a-global-with-gh">#&lt;/a>&lt;/h1>
&lt;!-- TODO video not published yet. Upload ~/Videos/kustom-demos/gh-global-history.mp4
 to YouTube and replace VIDEO_ID below, or delete these three lines.


 
 



 

&lt;div style="max-width: 800px">
 &lt;div style="position: relative; padding-bottom: 177.77777777777777%; overflow: hidden; ">
 &lt;iframe style="position: absolute; width: 100%; height: 100%;"
 src="https://www.youtube.com/embed/VIDEO_ID" allowfullscreen>
 &lt;/iframe>
 &lt;/div>
&lt;/div>

-->
&lt;p>A global normally holds one value, the current one. Every time the preset is saved Kustom also
keeps the old value in a small history, and &lt;code>$gh()$&lt;/code> is how you read it back. This is what you
use to show a trend, a delta, or a small chart of how a value moved over time.&lt;/p></description></item></channel></rss>