Difference between revisions of "GetMouseBtnState"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> function GetMouseBtnState(const Btn: TMouseButton): Boolean; </source> ==Availability== SCAR Divi 3.35 > Current ===Aliases...")
 
(No difference)

Latest revision as of 20:09, 8 September 2012

Definition

function GetMouseBtnState(const Btn: TMouseButton): Boolean;

Availability

SCAR Divi 3.35 > Current

Aliases

  • IsMouseButtonDown (SCAR Divi 3.00 > 3.34)

Description

Returns true if the mouse button given by the TMouseBtn parameter Btn, is down.

Example

begin
  if IsMouseButtonDown(mbRight) then
    WriteLn('Right mouse button is down!');
end.

See Also