add a option for mouse action