This is a way to create doors that close/open smoothly for a FNaF Fangame. This way also makes it possible to cancel, so if you're closing the door you can cancel and vice versa.
Do whatever. Iff you don't understand you can ask me for clarification. (I'm mass-producing these projects lol)