I have a sounds regulator. I want the user to be able to press the regulator and release it in other place, and I want the regulator to move after cursor but only along the X-axis and clamped to min and max locations that depend on the current DPI scale. Here are the fragments of my blueprint:
Unfortunately, I do not remember how I solved this problem that time, but now UE supports “Slider” control out of the box with many customization options, you can make it look as you want.