Examples being "Tremors" where the Graboids only attack if you're on the ground or "Darkness Falls" where the Tooth Fairy only attacks if you're in darkness.
I always found these kind of movies interesting since it takes a simple survival condition and finds creative ways in order to drive the plot forward that you don't usually see in any other type of movie. Unfortunately this kind of movie doesn't have its own genre as far as I know so I was wondering if anyone had any recommendations.