How to check "actor is blueprint or not"?

for anyone searching for the C++ solution like i was, here it is:

bool ActorIsBP = false;
		if (UBlueprintGeneratedClass* BlueprintGeneratedClass = Cast<UBlueprintGeneratedClass>(Actor->GetClass()))
		{
			ActorIsBP = true;
		}
2 Likes