Help about a basic button code

When there is no timer related code, i can press the button but when i add the timer related code, button became unpressable.

Replit repo:

Can you paste your code into your post between triple backticks (or use the </> button to insert the backticks for you)? We do not see anything.

```
# Your code will be here.
```

Also please explain:

  • What is the “timer related code” you add.
  • What does exactly mean: “button became unpressable”? a) It does not animate press action any more. b) It does not invoke an expected action in your code. Which should it be? c) Something else?
  • Did you try to find a minimal change to your program which causes the problem?