Hello,
at first i need to tell my english isn’t good and sorry for that.
I started to learn UE4 more less like week ago and first thing I want to make is interface to my game. I want to make games only on mobile. I found many ways to do that but i cant find with one is correct.
First
Make Box and use oninputtouchbegin and oninputtouchend -
I think this metod is good if you need to click, interact with object in game.
This metod not work well if You want to make buttons for example arrows for character movement. If You relase Your finger not in place where the object was clicked scrip dont run oninputtouchend - engine think it is still pressed !
Second
Inputtouch -
I just already test it. Looks like it dont have problem with relase finger - wherever You will do that script works well and engine know finger is relased.
I use breakvector and float x>y x