Lock character axis in sidescroller

so i made a shooter from the sidescroller template but my character has the option to face any direction and shoot in that direct, i was wondering how I would go about locking the directions he can face?