BeginOverlap event, check if Actor is certain class type

Your other actor is an actor spaced ball, does it inherit from USpaceBall. Can you show us this code/BP