I cannot access to another class function by using LineTracing

I cannot Cast. It says I couldnt cast UClass to UEnemyClass… Idk how to do it.