Skip to content

Commit

Permalink
[General]In-Game: mouse_clear() does not detect release state when cl…
Browse files Browse the repository at this point in the history
…ear is done while a mouse button is held

YoYoGames/GameMaker-Bugs#2072
Moved the part between parentheses to a note and explained it differently to make it more clear
  • Loading branch information
YYBartT committed Jan 9, 2024
1 parent 45fc238 commit 9afc48b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
<body>
<!--<div class="body-scroll" style="top: 150px;">-->
<h1><span data-field="title" data-format="default">mouse_clear</span></h1>
<p>This function clears the current state of the given mouse button. This means that checks for it being held down will not return <span class="inline2">true</span> until the player releases the button and presses it again (but the release state will still be detected if the clear is done while the mouse button is being held down).</p>
<p>This function clears the current state of the given mouse button. This means that checks for it being held down will not return <span class="inline2">true</span> until the player releases the button and presses it again.</p>
<p class="note"><span data-conref="../../../../assets/snippets/Tag_note.hts"> </span> This function only clears the state of the mouse button. The release will still be detected when the button is released on the mouse.</p>
<p>You can supply one of the mouse button constants listed on the <a data-xref="{title}" href="Mouse_Input.htm">Mouse Input</a> page.</p>
<p> </p>
<h4>Syntax:</h4>
Expand Down

0 comments on commit 9afc48b

Please sign in to comment.