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"

mouse cursor invisibility and enable

Dears,

I have a question about how to set the cursor invisibility but I hope it still can work ,thank you.

i just find the show Mouse Cursor function ,but when i make it false, My Mouse cannot work for my UI.

thanks again.

Product Version: UE 4.21
Tags:
more ▼

asked Feb 18 '19 at 09:16 AM in Blueprint Scripting

avatar image

HazelWitcht
1 2 4

avatar image Tuerer Feb 18 '19 at 10:03 AM

If I get it right, you want to use an invisible cursor to work with UI?

I think setting Show Cursor to False disables the cursor. You can try to Set Visibility to False or Hidden.

But how do you want users to work with the invicible cursor?

avatar image HazelWitcht Feb 18 '19 at 02:01 PM

That`s right, I want to use an invisible to work with UI! but I don`t know which node to hide or visibility the mouse cursor... can you please tell me,thanks

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

2 answers: sort voted first

When you open a widget, set ShowMouseCursor to true. When the menu is closed, set it back to false. This way, the cursor won't be visible in-game, but your UI will work.

more ▼

answered Feb 18 '19 at 10:37 AM

avatar image

KristofMorva
1.4k 5 5 7

avatar image HazelWitcht Feb 18 '19 at 02:01 PM

but,i need it cannot be seen when UI open

avatar image KristofMorva Feb 18 '19 at 02:16 PM

Well you can solve that by setting a cursor widget with an empty UMG screen (SetCursorWidget on the PlayerController).

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

answered Feb 18 '19 at 02:43 PM

avatar image

HazelWitcht
1 2 4

(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