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. 

Disable screensaver widget on Anykey press


The idea is to create a screensaver (widget) that will play a video when the player is not moving for X time. My issue is to disable the widget on Anykey press just like when you'd move the mouse on your computer. I got it to work with other keys, but when I use the Anykey it immediately fires the event and opens the level,

What condition in the branch node can I put so that the Anykey fires only when the widget is playing the video? Any help/ suggestion would be greatly appreciated.

Thank you! KEA

alt text

Product Version: UE 4.21
bp-issue.jpg (102.6 kB)
more ▼

asked Feb 06 '19 at 06:39 PM in Blueprint Scripting

avatar image


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

1 answer: sort voted first

Not sure why you are creating widgets on tick....very bad idea you're going to end up with hundreds of the widget in the view port. Find a better way to determine if the screen saver should play. Then create widget if the player is inactive for "X" seconds. Then on any key pressed, check "is valid" on the widget object, if true it will execute whatever is after, if false, it will do nothing. This way it only works if the widget exists.

more ▼

answered Feb 06 '19 at 08:05 PM

avatar image

Nebula Games Inc
5.4k 28 9 14

(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