The best way is usually to not tie game state to frame ticks. See Bethesda&#x27;s Creation Engine <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Yuyp-S7FPNI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Yuyp-S7FPNI</a> for why that&#x27;s a bad idea.