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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Why don't I receive an event from the HitBox on Mobile?

I don't receive event from the HitBox.

The mobile input touch isn't taken in account ?

alt text

Product Version: Not Selected
hud_hitbox.jpg (108.9 kB)
more ▼

asked Apr 17 '14 at 08:36 PM in Blueprint Scripting

avatar image

76 7 11 21

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

1 answer: sort voted first

Hey Eddy71,

Thanks for your question! This setup by itself won't enable your HUD to work 100%, you will need to setup a PlayerController (and Game Mode) that will Enable Click Events, assuming you don't already have them enabled.

If you download the ContentExamples add-on from the Marketplace, there is a map in that project called Blueprint_HUD that you can look through for examples of how to make a simple pause menu with options. If you have any specific questions about how to implement anything from that example map, just let us know!

If this does not resolve the issue with Hitboxes picking up Touch input on a mobile device, let us know what kind of device you are testing on.



more ▼

answered Apr 17 '14 at 11:19 PM

avatar image

Steve Allison STAFF
4.3k 123 58 209

avatar image Eddy71 Apr 18 '14 at 01:14 AM

Hi Steve,

Thanks for your answer.

Here it is the settings for my GameMode and PlayerController. HitBox events are no more received.

Are this settings ok ??

alt text

Your Blueprint_HUD example perfectly works on desktop. But it is not designed for mobile devices usage. For purpose test I just settled true the "Menu Open" variable (because no "M" key) to immediately display buttons. And I launched your example on my iPhone5 and iPad4. When I touch "Resume" and "Quit" buttons, nothing happen. Events are not received ?

alt text

settings.jpg (66.1 kB)
bpexamplehud.jpg (136.0 kB)
avatar image Steve Allison STAFF Apr 30 '14 at 04:31 PM

Hey Eddy71,

Sorry for the delay in response on this issue--Event Receive Hit Box Click doesn't register touch events currently. We are looking to add touch input for mobile to this event as well, but we don't have an ETA for that implementation to be available.

If you would like to see examples of how to have HUD-like menus/input without using a HUD blueprint, check out the main blueprint used in TappyChicken on the Marketplace and look for the Input section.


avatar image Eddy71 Apr 30 '14 at 05:20 PM

Hi Steve,

I have seen the TappyChicken with components button implementation, but in my case it is not applicable. (Because if the camera move, buttons components move too in the world).

Work around used : With the "Input Touch" event, I compare the touch location with my buttons coordinates.

Now, waiting for future UE release to get a clean HUD.

avatar image pedrodacruz Dec 12 '14 at 12:52 AM

I'm really disappointed... it took 5 days to discover this post...

(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