Drag the foot of the rod to change the angle θ it makes with the floor. The wall is smooth, so the only thing holding the rod is the friction at the floor.