How do you implement clickable interface through code?

What exactly are you trying to interface with? Are you talking about interacting with objects in the world or are you referring to UI?

Hello gals and guys, I have been looking at some tutorials but cannot figure out how to implement the clickable interface to an object in code. Does anyone have an idea on how to do this?

Thanks

I figured out my problem. I am trying to interact with objects in the world but somehow bEnableClickEvents was set to false in my custom PlayerController. My custom controller is a child of PlayerController and apparently that has the click events set to false. All I had to do was to set the boolean to true after creation and now i can receive my events. Thanks for responding though :slight_smile: