Light Controlled Levitating Magnets