You may know about the Roof thickness is usually a parallel dimension related of the roof angle.
However, if you want to enter the roof thickness as a vertical dimension, if the roof is a simple roof, you can open the settings and click the option to the right and assign the dimension to be ‘vertical’