x

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. 

can't hide cursor

so my problem is pretty simple, i made it so that when you clic a button it hides a panel and the cursor

this is inside the widget alt text

the problem is that when i clic the button it hides the panel but my cursor is still visible, i have to clic twice for it to dissapear.

...

i also have an event that gets called with the keyboard, this event shows the hidden panel and the cursor, i have the same problem as before but now i have to clic twice the button to hide the panel and then again another time to hide the cursor

this is inside the player controller alt text

i tried playing inside the viewport, on standalone and even packaging the game

Product Version: UE 4.20
Tags:
1.png (70.9 kB)
2.png (69.6 kB)
more ▼

asked Sep 04 '18 at 04:08 PM in Blueprint Scripting

avatar image

Nico_Pucho_27
73 3 8 16

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

1 answer: sort voted first

For as long as the cursor is over a widget, it's the widget that controls cursor's visibility, not the controller. In your case, you're hiding the Selection Panel of the Waiting widget. The cursor is still over the widget Waiting and it's showing the cursor. Click outside of the widget after hiding, the cursor will disappear because the widget will lose focus (unless you made it full screen, that is).

Each widget can control the visibility of the cursor separately:

alt text

After asking the controller to hide it, ask the widget to do the same:

alt text

untitled.png (26.5 kB)
cap2.png (27.3 kB)
more ▼

answered Sep 04 '18 at 05:00 PM

avatar image

Everynone
14.6k 76 25 61

(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