BeginOverlap event, check if Actor is certain class type

try

Cast<USpaceBall>(OtherActor) != nullptr