How to get the Blueprint Class of an Asset in Blueprint

I was looking for a way to get the exact parent class of a blueprint. Right now the if you get the class of an asset you just get “Blueprint” not Actor, or Pawn, or class.

Anyway eventually I figured it out and I thought I would post it here.

You need to get the generated blueprint first. This will at least return the exact class type of the current blueprint. Unfortunately, it will not tell you the parent class, but you can guess that by comparing it manually using the child of class function.

Hope that helps.

1 Like