friction opposes the direction of the velocity, but the problem is when I don't know what the direction of the velocity is. When I'm drawing a FBD for complex systems with ramps and pullies and stuff (with angular forces considered), I don't really know if the mass is accelerating/moving down or up and hence I don't know if the friction is to the left or to the right.