animation editor function complete