Detecting Childclass of blueprint

thx for the suggestion but sadly this did not work, but it did give me an idea, i decieded to use the class instead of the object refrence directly and that worked fine.