Checking if mouse is under a Widget or Viewport

Okay I solved it.

I forgot to include:
#include “Widgets/SWidget.h”
#include “Widgets/SViewport.h”

So complier didn’t know how to handle comparison.