I cannot access to another class function by using LineTracing

I also tried

UEnemyControl* EnemyClass;
EnemyClass->setHealth();

in PControl.cpp when doing Linetrace…
But then it says 'uninitialized local variable EnemyClass used.
When I try to put it in UPROPERT(EditAnywhere) it doesn’t show up anywhere :confused: