Default Tasker to toggle virtual mouse?

Basically what title says. Is there anyway to use tasker to toggle the virtual mouse setting? In some games the right analog stick is used to control viewing but yet it still shows the mouse pointer (Modern Combat 4 does this). I looked in Tasker and Secure Settings and neither had anything.
Phone: Google Nexus 4
ROM: Official CM nightlies
Kernel: CM compatible Faux

Want to play League of Legends?
Click here!