How did I make this variable a Class Reference?

The picture attached is a structure of maps (dictionaries) where all Keys are Names and the Values differ depending on type.

My question is about the purple Class References which in the tooltip states the “Value Type: Class Reference”
I am trying to make the purple Actor Value match the rest of the purple Class References but I don’t know how I made these Class References in the first place.

I’ve tried to use Object instead of Actor, but then it displays Object… How did I make the “Class Reference” as a variable type?
Dictionary.jpg

You selected it from the various options:

A lot of google searching talked about this. But I’m not that new, i wouldn’t ask this kind of question if it were that basic.

I know the difference between object and class, trust me there. This issue is a subtle nuance in the type of Class being defined.

Look closely, the variable type is Class Reference. So what class? I have no clue. If it was purple and said Actor i know what type of class it is. But this is just saying Class Reference. This seems like a bug because it should show the *type *of class. I hope my issue is clearer now because it’s driving me up the wall and across the ceiling.

Ah… see what you mean… :smiley:

Could it be a reference to a class that you since deleted?

Yup, just did it:

Screenshot_1.jpg

Very interesting. I didn’t know it could happen that way.

I did not delete any classes, however I opened up the engine today to see my Actor Class from my first post has changed to Class Reference.

So I guess that’s how it is done. I’m still confused, but all the code is working without issue.
Dictionary2.jpg
Magic!

Right now it simply needs a generic class reference. Any class will work…it’s no longer specific. That’s why it still works.

It does sound a bit like you’ll get problems down the line there…

Well I’d like to keep it as Actor Class, but the engine has it’s own preference…

i’ m sorry,what’s class reference?