Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Mobile Touch Controls

I want to add simple touch control buttons on screen for my 3rd person mobile game like jump and sprint. I have them already attached to my keyboard button presses and holds but I'm making a mobile game and not a PC game

Product Version: UE 4.14
more ▼

asked Jan 17 '17 at 06:02 PM in Using UE4

avatar image

6 1 5 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Make a UMG widget with buttons. In the widget's constructions get a reference to your object that process input (pawn or controller). In the OnPressed handler for the button, call the appropriate input event on your pawn/controller.

more ▼

answered Jan 17 '17 at 07:01 PM

avatar image

2.1k 67 84 77

avatar image mikhaelcool7 Jan 17 '17 at 10:49 PM

As a complete beginner I'm not able to understand your instructions completely. A step by step guide with or without screenshots would be very appreciated

avatar image CleanCut Jan 18 '17 at 04:17 AM

If you are a complete beginner, then you should study the UMG widget documentation. https://docs.unrealengine.com/latest/INT/Engine/UMG/UserGuide/Events/index.html

There are lots and lots of tutorials available. Please go to YouTube and search for "ue4 topic". For example, searching for "ue4 widget button" brought this tutorial right up (and many others), which appears to be exactly what you are looking for.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question