Contrarily to polyobjects, which can be used to implement actual sliding doors, an animated door is a variant of the vertical door: the sector must have a height of zero, and the door texture is placed on the upper texture. While opening, the door plays the opening animation (as defined in ANIMDEFS), at the end of which the door sector's ceiling is instantly raised, allowing passage. While closing, the door sector's ceiling is instantly lowered, and the animation is played in reverse.
If a solid actor blocks the door's closing movement, the door remains open. Contrarily to vertical doors and polyobjects, it will not start to move and abort, since the movement itself is instantaneous and silent.
Note: Only two linedefs will be animated; the one activated and the first two-sided line found with the same texture belonging also to the door sector. Doors with more complex shapes than the usual thin rectangle (such as a cross-shaped connection between four sectors) will not behave correctly.