We All Need a Hand Sometimes

Click, Scroll, Release

Assign Steps or Scripts to execute when certain mouse events occur. Note that you can enable click scripts for the primary or secondary stroke button, but only the mouse button Down event will be triggered. Use the Release tab to handle the mouse button Up event by checking which button was released, via the Event Object > Button or script object click.Button, for example:

if(click.Button == MouseButtons.Right) { ... }

Available Events:

  1. Left Click
  2. Middle Click
  3. Right Click
  4. X1 Click button 4
  5. X2 Click button 5
  6. Mouse Wheel scroll up or down
  7. Horizontal Wheel if device support exists
  8. Release when a stroke button is released after drawing

For click events, they are executed when the button is pressed down, and again when the button is released. You can determine which event has occurred by referencing the click.Down (bool) property within the script or Events Object > Down for a step. See the Script Help window for additional details about the click object properties.