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. 

Using touch input, UMG buttons do not trigger OnReleased when the button boundaries are left.

So when I click a button in UMG, with a touchscreen device or mouse input, it triggers the OnPressed event as it should, but it will only trigger OnReleased when the input (finger/stylus/mouse click) is released, it does not trigger when the button is no longer hovered over. So you can click on a button, slide off, and it will still be considered pressed.

This is a problem for my mobile game as I have on screen controls for turning left and right, if the player wants to slide their finger from the MoveLeft button to the MoveRight button they will be stuck on MoveLeft. So not only do they not release the MoveLeft button but they don't press the newly pressed MoveRight.

OnReleased should trigger when the input leaves the buttons boundaries, it would be good if OnReleased had an Enum coming out of it called ReleaseMethod with the options LeftBoundaries and ReleasedInput to account for different cases.

I believe the bug has something to do with the IsFocusable boolean option, I am forced to keep this set to false as focusable buttons cause other issues with touchscreen controls.

If you want to replicate the bug it should be as simple as creating a button in UMG, setting focusable to false, putting a print string on OnPressed and OnReleased, then enabling the mouse cursor to click on the button, drag off and see that the OnReleased node doesn't fire until the input itself is released.

Product Version: UE 4.19
more ▼

asked Apr 08 '18 at 09:00 PM in Bug Reports

avatar image

27 2 4 8

avatar image Jeff A ♦♦ STAFF Apr 09 '18 at 06:47 PM


We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.



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

1 answer: sort voted first

I've found a work around that works on Android and with PIE on PC. Screenshot 1 shows my button events and Screenshot 2 shows it's settings. I've done the same thing for all 4 directions and I can slide my finger off one and onto the other and they work they should, each button is only active when an input is within its boundaries and it doesn't interfere with the function of any others.

Screenshot 1 Screenshot 2

111.png (70.4 kB)
222.png (7.3 kB)
more ▼

answered Apr 09 '18 at 07:13 PM

avatar image

27 2 4 8

(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