I have a problem. I cant fire the OnClick event, and I don’t understand why. Everything is working if i use Begin Cursor Over event, or just some keyboard button pressed event instead, but I need the actor to respond on clicks, I spent lots of hours while searching for reasons and trying to make it work but now I’m out of ideas.
By the way same thing happens if I map for example “f” key of the keyboard and “left mouse button” on the same action in project settings: the event fires only if I press “f”, and nothing happens if I click.
interesting thing: i’v imported “clickblock” blueprint from “puzzle game template” and click event works on this blueprint, but i cant find what is diferrent about this blueprint… this makes me mad…
I guess the question should sound like - what property of an actor is responsible for ability to be clicked?
Make sure that “use mouse for touch” in Project Settings → Input is not checked. Otherwise you’ll be receiving touch events instead of click events.
Is the blueprint actor in question capable of receiving input? There are flags for this in the default properties of the actor.
This worked, thank you so much, my nerve cells finally feel good!