How do I access the size of a sprite?

Ok, will try that…

Cool, it succeeded.

Opening Unreal now…

It’s there! Excellent. That should help a lot with some of the things they chose not to expose to Blueprints…

Thanks.

Edit: Actually, one more thing… how do you find what you need to add to the PublicDependencyModuleNames.AddRange list?

For instance, I want to expose a C++ function of the DateTime class; should adding “DateTime” work or might it be a part of a larger module…?

Edit2: I see according to FDateTime | Unreal Engine 5.2 Documentation the module is just Core. Only problem is that it says GetDayOfWeek() returns CORE_APIEDayOfWeek, but if I just put that into the C++ it doesn’t recognize the type when I build:

I also tried EDayOfWeek (I assume E refers to it being an enum) but that didn’t work either.

I’ve included DateTime.h and it appears to recognize FDateTime because it doesn’t give an error if I declare a variable of that type before the day of week function, so I assume that’s working ok.

Doesn’t seem that CORE_API is meant to be used like a namespace either, so I can’t figure it out…

Edit3: Visual Studio definitely recognizes EDayOfWeek and that’s definitely what GetDayOfWeek returns because the intellisense says as much. Just won’t let me return that type from a function? Must be meant to be wrapped in a UENUM or something…?