Sometimes I like to add together animation checking with variables just for some extra safety. If that makes sense. This method pretty good if you'd like the animations to play more smoothly. Although it'll make the animation changes feel more "slow".
An example would be-
- "If DoorState = 1 and The animation of Door != Open"
- Then Change DoorState = 0 and The animation of Door = Open
Hard to write Gdevelop code in text but hopefully this explains what I meant!