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.
I select a mesh, nothing fancy just a starter chair for example
In the level blueprint, I do the add click event
OnClicked pops up with “Touched Actor” and “Button Pressed” option (I have no idea what these do).
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.
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.
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.
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