Few model railway layouts are entirely on the same level. Fortunately, AnyRail can handle track at varying heights.
If you want to make sure that the height of a certain point is not changed accidentally, right-click it, and select Lock height.
The point turns blue to indicate that its height is locked:
Page url: https://www.anyrail.com/help_en/index.html?workingwithheight.htm