Does it not compile? I tried that and it compiles fine for me. You can ignore the Intellisense errors if it compiles.
If it isn’t compiling for you for some strange reason you could try declaring the “OurVisibleComponent” as a UStaticMeshComponent instead.
UPROPERTY(EditAnywhere)
UStaticMeshComponent* OurVisibleComponent;
Or you could try casting as suggested here: