updated example with MouseInput