the way i do is to go to the project folder, and find the cpp and h classes and then get rid of these, but the it seems that the class is still attached to the game engine for some reason
If you’re talking about removing classes from the engine, then unless you’re using source version of the engine - no.
if you’re talking about classes in your game, you have to delete the actual files and regenerate your project files.