How do you control material functions like a dissolve effect and have them occur when you want them to?