Use conditional function to kwow if a door its open or close like this video