why LeftMouseButton event doesn't work?

In the attached screenshot, if i use EventTickso print works fine. But in case with LeftMouseButton print doesn’t work.

Maybe you need to enable user inputs in your blueprint

Block input checkbox is unmarked.

Did you set your project to be for tablet? You might have “use mouse for touch” enabled and if so it counts as touch

I use topdown template. Enable Touch Events is on.

Can you put a breakpoint on GetAiController and see if it fires?

Not fires.
But EVentTick is firing.

ice_screenshot_20170306-191240.png

Yes, it’s quite normal that Tick fires :slight_smile: Can you try to “plug” the click event to the GetAIController node and see if it stops as it does with tick with the breakpoint set?

Yes, i tried, with LeftMouseButton event doesn’t work.

Screenshot

ice_screenshot_20170306-193555.png

franktech, do you mean to create custom Event mouseClick?

In Player controller it works fine.

But in bot(AI) controller it doesn’t work.

What i want to do, when character start to move by click and diff. events happen like door closed\opened, bot start to move etc.

Question is, where are you calling the Left Mouse Button event from? From the Player Pawn? From the Player Controller?

If you are calling it from the AI actor then it’s just normal that it doesn’t fire.
You should follow franktech’s suggestions, move your logic to a custom event in the AI blueprint, then from your player controller/pawn catch the left mouse button event, on fire find your actor using “Get all actors of class” or in any other way, and call the custom event

I created the following blueprint in order to test global var which get location of mouse’s cursor hit.

But it always shows 0,0,0.

This blueprint is for object (bot).