OnInputTouchBegin does not register mouse double click until clicked 3 times

I ran into an issue with how the PC ios simulates the inputs for asset selection.

I am setting up a ‘double click’ function. (The image below shows the setup within Blueprint) It is controlled by a bool which is disabled at the start. When you click on the asset, if false (which at the start it is), it will fire down ‘false’ for the branch that is reading the bool. It turns on the bool, waits .75 seconds, then disables it again. If the asset is clicked within that .75 second period, it changes the camera.

The issue I am running into is that when I run the ‘UDK Remote’ while running the Unreal 4 engine, it works as expected. However, i I run the ‘Play’ function within the editor while in the iOS emulation mode, it takes 3 clicks of the mouse in order for the camera to change. It appears that for the editor, there is some ‘hiccup’ that doesn’t update the book on the first click.

I have tested this with a much simple setup. Simply plugging in the ‘OnInputTouchBegin’ directly to the ‘set view target with blend’ node, it activates on the first click.

Hi C albeluhn,

Did you check “Game Gets Mouse Control” to set this to true?

Go to the Play dropdown menu>Advanced Settings>Play in Editor. When this is checked to true it forces mouse control to the play window that you are using instead of having to click into it first. Thank you!

Hi C albeluhn,

We have not heard from you in quite some time. I am marking this as answered for tracking purposes. However, if you are still experiencing this error please let us know so we can continue to assist you. Thank you!

Hi , Sorry I didn’t get back sooner. (Life got in the way).

I took some time last night to tinker around with some things in Unreal 4. Recently you have updated the engine to version 4.1, and since then, this issue no longer appears for me. Everything appears to be working correctly, so I’m a happy camper. :slight_smile:

Thanks for taking the time!

Hi C Albeluhn,

I am happy to hear you are no longer experiencing this issue. Please let us know if you need further assistance. Have a great day!