MouseControl function completed