I have a sprite that when the player collides with it, it triggers a tween to move a nearby horizontal door to the left. I want it to tween back more slowly if the sprite is collided with again as long as the first tween has finished. Below is what I have. It works to start the tween, and to do the tween to make it go back. But, after that, collisions with the “switch” sprite no longer trigger the process again.
How do I get it to repeat all of that when the player collides with the switch a third time?