// ButtonType is a mouse action option to set the button to click.
ButtonType is a mouse action option to set the button to click.
// ButtonType is a mouse action option to set the button to click .
func ButtonType(button input.MouseButton) MouseOption {
	return func(p *input.DispatchMouseEventParams) *input.DispatchMouseEventParams {
		return p.WithButton(button)
	}
}
func ButtonType ( button input . MouseButton ) MouseOption { return func ( p * input . DispatchMouseEventParams ) * input . DispatchMouseEventParams { return p . WithButton ( button ) } }
ButtonType is a mouse action option to set the button to click.
ButtonType is a mouse action option to set the button to click .