How to set specific resident directions