Call inline c++ function in blueprint

Hi everyone
I want to know how i can call this function in blueprint?

INLINE  bool isInSightRange(float d)
{
	return d < SightSphere->GetScaledSphereRadius();
}

If UFUNTION (BlueprintCallable) does not work, then make non-inline funtion that does call that function

didn’t work

So that function does not work in C++ too?

I made another function…

UFUNCTION(BlueprintCallable)
bool BPVersion();

and then from this new function i called inline function like this:
bool AMyCharachter::BPVersion()
{
return isInSightRange( somecalc);
}

I can now call this function from BP

But isn’t this what you wanted? or you misspell can’t? Did you type in category that node should be in, it required as i know and UHT with throw error if it’s missing?

I forget to type category here,
I wanted to directly call inline function but this way has a extra calling but everything is ok.