Left Mouse Button event only fires when I click twice on the same location

My project is based on the third person template. I added a player controller, game mode using that player controller and set the world settings to use my game mode.

In my player controller, I enabled the mouse cursor.

In my level blueprint, I added the following (print a message, and if the mouse was over an actor, print that actors name):

Now when I hit play, and in my game click the left mouse button, nothing happens. However, if I click it twice within a certain time frame (fairly quick) without moving the mouse, then it prints my message.

I thought this was pretty weird, so I tried rapidly clicking while moving the mouse, this resulted in no messages.
If I disable the ‘show mouse cursor’ option in my player controller, then it prints my message on each and every click.

Can anyone explain to me what exactly is happening? And how to enable clicking when showing the mouse cursor.

Hey Vor3n,

We haven’t been able to reproduce this issue–in both instances with Show Mouse Cursor on and off, all of the Left clicks would always generate print messages. Does this happen for you if you create a completely fresh project and make those couple of modifications you mention?

-Steve

I tried reproducing my problem in a new project, and suddenly it worked as expected. I was sure I had already tried this, but now I feel a little silly :slight_smile:

After realizing some other part of my project must be the problem, I started turning off parts until it worked for my project too.

I want to sincerely thank you for going to the trouble and taking the time to help me :slight_smile: