I cannot access to another class function by using LineTracing

Are you casting HitActor to UEnemyControl* then trying to access health?