Method opt.scope.mouse
Overload
Creates temporary scope for opt.mouse options. See example.
public static UsingEndAction mouse(bool inherit = true)
Parameters
inherit (bool)
If |
Returns
Examples
print.it(opt.mouse.ClickSpeed);
using(opt.scope.mouse()) {
opt.mouse.ClickSpeed = 100;
print.it(opt.mouse.ClickSpeed);
} //here restored automatically
print.it(opt.mouse.ClickSpeed);