Can't get a basic OnClicked event to work

Can’t seem to figure out how OnClicked works. I’ve enabled clicking in my player controller. I’ve every forum post and answerhub on the internet and have enabled all of the correct settings. But still can’t get it to work even in a brand new starter content project. Doesn’t work in any project.

  1. I select a mesh, nothing fancy just a starter chair for example
  2. In the level blueprint, I do the add click event
  3. OnClicked pops up with “Touched Actor” and “Button Pressed” option (I have no idea what these do).
  4. I attach the event to a simple string

I jsut want the screen to a message when I click on a simple mesh. Can’t even get that to work. And as I’ve said, I’ve enabled all the click options that all the other posts mention.

Any ideas? Is this a 4.14 bug?

Hey -

Can you make sure that your blueprint is setup based on the following screenshot?

This will enable click events to be triggered and allow your mouse cursor to be seen so you can click on options. In this case, “New Blueprint” is an Actor blueprint with a static mesh component. When the mesh is clicked it will print “Hello” to the screen.

Cheers

Okay I didn’t even add in what you said here, but it’s now working. I updated my nvidia GPU drivers to the latest version (i have a 970), restarted my computer and all that, and suddenly I can click my meshes now with the same code as before.

Is this a known error? If so, then my bad and a good note to anyone else having weird issues: update GPU drivers.

I posted the solution below. Thanks for assisting me!

Hitting an issue in 4.20/4.21 with this basic OnClicked use case working on one machine and not another. Same Perforce revision, same Nvidia Geforce driver. Any other suggestions