Constraint Movement for Spline Point Z Axis

Hello! I’m creating a tool for level designing. which i can build rooms or buiding rapidly using the SplineComponent.
I want to prohibit the user from setting the ZAxis of the spline points cause it will create problems in the mesh. when they mess with it.

Any advice on how i should approach this? should I set everything in the Constructor?

in C++ create a spline component child class and override the required functions, You can build your custom algorithm according to your requirements, for that function, there. And use your custom class in your project instead of the default one