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. 

Setting UMG navigation rules at runtime

I have a very simple menu to browse through a gallery of images, containing buttons for "Previous Image", "Next Image" and "Back out of this Menu". In the graph for this menu widget, I disable the Prev and Next buttons when the ends of the gallery are reached.

Disabled buttons still accept keyboard focus, which is not ideal for the user in this case, so I've tried to work around this by changing the navigation rules whenever a button is enabled or disabled, using "Set Navigation Rule".


alt text

However, it seems that none of the changes I make using this function actually work. I can see that the navigation rules point to the correct widgets if I print them out using Get Navigation, but the actual behaviour when I attempt to navigate using the keyboard is always unchanged from the initial rules set when the widget was first created. Is there an obvious reason why this isn't working?

Alternatively, is there a way to disable and enable "Is focusable" for buttons at runtime?

Product Version: UE 4.17
more ▼

asked Sep 11 '17 at 04:50 PM in Blueprint Scripting

avatar image

6 1 1 2

avatar image Ciaviel Oct 02 '17 at 04:57 PM

Same Issue here, have you found a solution?

avatar image OmicronNEGA Oct 24 '17 at 01:11 AM

I got the same problem here too. Seems like this node is broken somehow?

avatar image vodkins Apr 04 '18 at 09:12 AM

Same issue here! Just nothing happens using it... Looks like this node is broken.

avatar image gk0r Apr 04 '18 at 02:25 PM

What is the real world problem you guys are trying to solve? If you want to stop user from pressing Left or Right when you reach the bounds, consider toggling visibility using Set Visibility node. That will address your issue with focus as well. If you choose Collapsed it will not appear at all (good outcome) or if you choose Hit Test Invisible it will become non-interactive.

What is the problem?

avatar image vodkins Apr 04 '18 at 03:09 PM

My problem is that i have an additional focusable Widget which can be Visible or not alongside with other Widget (Main Menu buttons). Additional Widget is located above/upper the Main Widget. So when additional Widget is Hidden/Collapsed i can navigate from upper Main Menu button (Resume) to lower one (Quit) and vise versa (cross navigation in circle in both ways Up and Down). But when i Open additional Widget and Close it then i can't circle Up from Resume to Quit. It just stops. I don't know why. I tried both Hidden and Collapsed but this is not helped.

avatar image gk0r Apr 05 '18 at 12:14 PM

Re-create the problem in a blank project and upload it to Google Drive. I'll have a look for you.

avatar image vodkins Apr 05 '18 at 03:23 PM

Ok, i will try, but this is not so a big problem to spend our time for that. Anyway thank you!

avatar image modena3d Jun 09 '19 at 02:42 PM

me too the same problem

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

0 answers: sort voted first
Be the first one to answer this question
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