Check Character Is Colliding

Hello, Im having trouble checking if the character is colliding. Here is my psuedocode:

TArray<AActor*> overlappingActors;
GetOverlappingActors(overlappingActors);
if(overlappingActors.Num() > 0)
{
...
}

But that always returns with an empty array. What am I doing wrong?