Extending WidgetComponent

I’m trying to extend the WidgetComponent class by creating a new C++ class based on it.

The problem is, when I’m trying to add

UPROPERTY(EditAnywhere, Category=UserInterface, meta=(ClampMin=1.0f, ClampMax=180.0f))

it says that shadowing is not allowed.

I’m just trying to modify the ClampMax to -180.0f.

(I’m a complete C++ noob) :slight_smile: