Doors

The Door function auto-detects swing direction and writes it as a parameter