In my first Blender script, I'm asking how can I control the slider value with min and max values without using FloatProperty.
box1 = layout.box()
box1.label("Span (Z) profiles positions:")
box1.prop(obj, "location", index = 2, text = "Span")
After looking at the documentation, I do not think there is a built-in option for an object's location (some other Blender values may be, but you could check on Blender's API docs). It would be best to use a FloatProperty or FloatVectorProperty. You could use a setter so it updates the object's location whenever the value changes, but that would also require some way to keep track of the object for the property.