MouseButton()

Syntax

Result = MouseButton(ButtonNumber)

Description

Returns 0 if the specified button is not pressed, else the button is pressed. Any number of buttons can be pressed at the same time. ExamineMouse() must be called before this function to update the actual button's state.

Supported OS

Windows, AmigaOS

Mouse - Index