ryu mouse function