Been searching for an answer, and I’m not sure if I’m phrasing my question correctly…
Is there a way to check the class of a weak pointer?
In my player pawn, I’m using GetHitResultUnderCursor to get a HitResult on each mouse click. What I’d like to do is check the class of the object to then display a contextual menu based on what object was hit.
Displaying the menu isn’t the issue; I seem to have figured that out. But I’m confused on what to enter in my If statement to check if the hit result is a specified class…