</code></pre></div></div><p>Returns the current outline color of an object.</p><hr/><h3class="d-inline-block"id="outlined_object"><ahref="#outlined_object"class="anchor-heading"aria-labelledby="outlined_object"><svgviewBox="0 0 16 16"aria-hidden="true"><usexlink:href="#svg-link"></use></svg></a><strong>outlined_object</strong></h3><pclass="label label-green">sfall.h</p><divclass="language-c++ highlighter-rouge"><divclass="highlight"><preclass="highlight"><code><spanclass="n">ObjectPtr</span><spanclass="n">outlined_object</span>
</code></pre></div></div><p>Returns an object that is currently highlighted by hovering the mouse above it.</p><hr/><h3class="d-inline-block"id="set_outline"><ahref="#set_outline"class="anchor-heading"aria-labelledby="set_outline"><svgviewBox="0 0 16 16"aria-hidden="true"><usexlink:href="#svg-link"></use></svg></a><strong>set_outline</strong></h3><pclass="label label-green">sfall.h</p><divclass="language-c++ highlighter-rouge"><divclass="highlight"><preclass="highlight"><code><spanclass="kt">void</span><spanclass="n">set_outline</span><spanclass="p">(</span><spanclass="n">ObjectPtr</span><spanclass="n">obj</span><spanclass="p">,</span><spanclass="kt">int</span><spanclass="n">color</span><spanclass="p">)</span>
</code></pre></div></div><ul><li>sets the outline color of an object (see <codeclass="language-plaintext highlighter-rouge">OUTLINE_*</code> constants in <strong>sfall.h</strong>)</li><li>can also set a custom color from the game palette by shifting the color index value left by 8 bits: <codeclass="language-plaintext highlighter-rouge">0xCC00</code> where <codeclass="language-plaintext highlighter-rouge">CC</code> is the palette index (available since sfall 4.2.7/3.8.27)</li><li>passing 0 will disable the outline</li></ul></main><hr><footer><divclass="d-md-none mt-4 fs-2"> This site uses <ahref="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </div></footer></div></div><divclass="search-overlay"></div></div></body></html>