Can i return pointer from BlueprintCallable function?

For example:
AThing* SpawnThing()
{
AThing* Thing = GEngine->SpawnActor(…);
.
.
.
return Thing;
}

BlueprintCallable functions shouldn’t have any trouble returning pointers, are you having trouble getting this to get this to function?

Yeah, i can return pointer from BlueprintCallable, compiler didn’t work for another reason, thanks!

Compiler corruption(