soory i could not replay earlyer
I found the errors in my script and now it works, I think.
I also used Blender "parenting" for the different objects that slides with the door.
Yes, parenting i also use.
You changed ButtonTouch to Touch button. Was that a part of an error?
Anyway your Door work perfectly now.
I will send you another small Blendfile (include Python and SDL) to learn and study to use the SDL and the Python.
I am not able to change it in your script in a short time. I am too bussy and it is very hard for me to understand such things.
Maybe we can help each other.
Caution i changed the Age number in 473
I think it is a free Sequence Prefixe.
So i gave the Door2.py the number 47301 and the Door2AgeSDLBoolRespondReset the number 47302
So you can later , if you work with more Pythonfiles, count 03, 04 ....
I hope this all help you and i wait of your response
Greetings
Dulcamara