<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3APregameBlockMouseOver</id>
	<title>API:PregameBlockMouseOver - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.returnofreckoning.com/index.php?action=history&amp;feed=atom&amp;title=API%3APregameBlockMouseOver"/>
	<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:PregameBlockMouseOver&amp;action=history"/>
	<updated>2026-10-18T06:58:46Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.returnofreckoning.com/index.php?title=API:PregameBlockMouseOver&amp;diff=30634&amp;oldid=prev</id>
		<title>Maintenance script: UI Lua API import (WAR 1.4.8)</title>
		<link rel="alternate" type="text/html" href="https://wiki.returnofreckoning.com/index.php?title=API:PregameBlockMouseOver&amp;diff=30634&amp;oldid=prev"/>
		<updated>2026-10-16T19:47:40Z</updated>

		<summary type="html">&lt;p&gt;UI Lua API import (WAR 1.4.8)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LuaApi|group=Pregame}}&lt;br /&gt;
Turns the client&amp;#039;s mouse handling on the character select screen off or back on.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
PregameBlockMouseOver(block)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
;block : &amp;lt;code&amp;gt;boolean&amp;lt;/code&amp;gt; – &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; to block mouse-over and click handling, &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt; to allow it again.&lt;br /&gt;
&lt;br /&gt;
== Returns ==&lt;br /&gt;
Nothing.&lt;br /&gt;
&lt;br /&gt;
== Details ==&lt;br /&gt;
* The call only has an effect in the pregame state while the character select screen is set up. At any other time it does nothing.&lt;br /&gt;
* The stock UI describes the flag as &amp;quot;start/stop handling mouse over &amp;amp; mouse button clicks on the C side&amp;quot; (&amp;lt;code&amp;gt;interfacecore/source/characterselectwindow.lua&amp;lt;/code&amp;gt;).&lt;br /&gt;
* While the flag is set, [[API:PregameSetCharacterSelectPage|PregameSetCharacterSelectPage]] does nothing. The stock UI disables its page combo box at the same time for this reason.&lt;br /&gt;
* [[API:PregamePlayCinematic|PregamePlayCinematic]] sets the same flag while the cinematic plays, and [[API:PregameStopCinematic|PregameStopCinematic]] puts back the value it had before.&lt;br /&gt;
* &amp;lt;code&amp;gt;block&amp;lt;/code&amp;gt; must be a real boolean. Passing &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; or a number raises an &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; error.&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
None besides the generic &amp;#039;&amp;#039;Invalid Parameters&amp;#039;&amp;#039; message when the argument is not a boolean.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
From &amp;lt;code&amp;gt;interfacecore/source/characterselectwindow.lua&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
function CharacterSelectWindow.BlockMouseOver(bBlock)&lt;br /&gt;
    -- start/stop handling mouse over &amp;amp; mouse button clicks on the C side&lt;br /&gt;
    PregameBlockMouseOver(bBlock)&lt;br /&gt;
&lt;br /&gt;
    -- when mouse-over is blocked, character pages cannot be changed, so don&amp;#039;t let the user interact with the page change combo box&lt;br /&gt;
    ComboBoxSetDisabledFlag(&amp;quot;CharacterSelectPageChangeComboBox&amp;quot;, bBlock)&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[API:PregameSetCharacterSelectPage|PregameSetCharacterSelectPage]]&lt;br /&gt;
* [[API:PregamePlayCinematic|PregamePlayCinematic]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>