UUseridget OnMouseEnter / OnMouseLeave events

heres working example on BP

but by some reason i cant do it by code, function is not overriding, whut im doing wrong?

In C++, you need to use the functions named ‘Native’ when overriding UMG functionality.

NativeOnMouseEnter and NativeOnMouseLeave

Thanks, everything is working just fine.

Can i bind this NativeOnMouseEnter to widget inside my widget? or i must create new widget with overrided function?