Answer:
In the right triangle, either leg could be considered as the heigh
Explanation:
In the right triangle, if you have the length of the two legs, the triangle is already defined, the two legs are the base and the height (no matters the way you choose the order, either AB could be defined as the base or as the height, and if you decide to call AB the base then you necessarily need to take AC as the height.
As can be seen, the area of the triangle and its hypothenuse will be the same.