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. 

[Question] Set focus to text box without showing cursor

I have a simple multiplayer chat window that works just fine. I press T to bring up the window and start typing because I set the user focus to the text box on creation. Is there a way to have it so the mouse cursor doesn't appear when its focused? I have checked the UMG widget and made sure that there wasn't any cursor selected under Behavior. Any combination of input mode and keyboard focus either results in the cursor being visible or the text box not being selected. alt text

The widget itself is created in BeginPlay. It is just added and removed from the viewport with OpenChatWindow and CloseChatWindow functions.

Product Version: Not Selected
capture.jpg (51.7 kB)
more ▼

asked Jan 27 '15 at 04:34 AM in Blueprint Scripting

avatar image

286 23 26 43

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

2 answers: sort voted first

from player controller u can set ShowMouseCursor to false to hide mouse cursor, for the focus in my game i do the same thing, in my case i set input mode to UI Only

more ▼

answered Jan 27 '15 at 05:42 AM

avatar image

Duncan Dam
3.1k 121 50 164

avatar image OpticalShadows Jan 27 '15 at 03:20 PM

I have also tried that. Sorry should have mentioned it. That exec line coming out of the SetInput node goes to show cursor false. I've also put show cursor false on Tick just to test and it's getting overridden somewhere. The reason I have game and UI is because I still want the camera to move with the mouse. Shootergame has this working to an extent, the cursor flickers a bit but is generally not visible.

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

Set keyboard Fucos what u looking for .. make an Event on that widget and call Set Keyboard Fucos to TestBox and call it when Press key without show mouse Crosalt textser ...

keybrad-fucas.jpg (176.9 kB)
more ▼

answered Jan 06 '18 at 03:32 AM

avatar image

5 4 4 9

avatar image Elea Jan 06 '18 at 03:59 AM

*Fucus bad English -_-

(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