Widget/API/IsButtonPushed

Checks if the Button is pushed with a specific key.

Elem:IsButtonPushed(button)

Arguments

 * Button
 * string
 * LeftButton, RightButton, MiddleButton, OtherButton

Returns

 * boolean

Example
/run Elem:IsButtonPushed(button) /run Elem.IsButtonPushed(Elem, button)