# AG\_MOUSE > [HTML Version](ag_mouse.htm) _Reviewed and revised December 2023_ **tab(-10, AG\_MOUSE); opcode \{,flags\}; chr(127);** [Tab(-10,x) Syntax Notes](ag_xxx_syntax-notes.htm.md) AG\_MOUSE (100) sets or restores the AutoMouse setting. **Parameters** _opcode_ choices are 7 to set flags or 8 to restore flags. _flags_ values from the following table may be combined | **Value** | **Action** | |------|------| | \&h0001 | Automouse disabled (default is enabled) | | \&h0002 | Double click sends string only (no CR) | | \&h0008 | Single click sends string only (no CR) | | \&h0010 | Singleclick sends string+CR | | \&h0020 | No single click auto col adjustment | | \&h0040 | No single click auto row adjustment | | \&h0080 | Doubleclick sends CR only | | \&h0100 | tab(-1,158) cursor reporting | | \&h0200 | Doubleclick sends ESC only | | \&h0400 | Doubleclick sends string+CR | | \&h0800 | Don't consider slash a token delimiter | **Response** None