Performs a (virtual) mouse click on the button. Causes any of the button's mouse click-related scripts to be run as if the button were clicked by the user.
Calling this method can result in an error if the button inherits from a secure frame template and performs protected actions.
Signature:
Code
Button:Click("button", down)
Arguments:
button - Name of the mouse button for the click action (string)
Button4
Button5
LeftButton
MiddleButton
RightButton
down - True for a "mouse down" click action, false for "mouse up" or other click actions (boolean)