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"

How can I change the mouse cursor texture?

Is there away I could change the default mouse textures in the engine? I want to import my own and use them.

Product Version: Not Selected
Tags:
more ▼

asked Aug 12 '14 at 01:51 PM in Using UE4

avatar image

Valkon
110 14 19 40

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

Hey guys, I've been using UE4 4.7 and there is an option for this now, as Ben says.

You can go to Edit -> Project Settings -> User Interface (on the left) -> Default Cursor and set it to a widget!

So all you have to do is make a User Widget BP, and put the cursor as an image all alone in there. You can also do more complicated stuff if you really want! Just remember most users want a quick, responsive interface that's easy to see and understand.

Hope that helps some people!

more ▼

answered Jun 03 '15 at 05:34 PM

avatar image

Zaggoth
251 8 108 34

avatar image Rockseller Mar 26 '16 at 09:42 AM

@Zaggoth wooo thank you!

avatar image Ubaid12345 Jun 08 '16 at 08:08 AM

I have done the same as told by you and its working fine on unreal engine but when i launch it on Samsung Gear VR custom cursor is not showing. . .I will really appreciate if you show me some way to get my hands on it.Thanks you

avatar image Zaggoth Jun 08 '16 at 10:58 PM

What version are you in? I currently have an issue in UE4 4.11 where the cursor isn't properly showing up in Editor / Launch Game mode (but shows up fine in Release mode.)

Does this sound like the issue you're having?

avatar image Ubaid12345 Jun 13 '16 at 01:15 AM

I am using 4.12.1 cursor show on editor but when i launch it on Samsung Gear VR it show the default one with very small size. Thanks for the help

(comments are locked)
10|2000 characters needed characters left

Hey Valkon,

The Default Mouse Cursor texture is currently pulled from the Operating System. You can switch between a few different options in your Player Controller Defaults in the Mouse Interface section:

alt text

Those are limited options and dependent on the OS of the user. If you want to set up your own cursor, you'll need to draw one on screen. There's a pretty good tutorial here:

https://wiki.unrealengine.com/How_to_Setup_Custom_Crosshair_/_Cursor

That uses a Draw Material node, but you can replace that with the Draw Texture node, or even the Draw Texture Simple node. Here's what mine looks like:

alt text

Hope that helps! Let me know if you need more help setting this up.

more ▼

answered Aug 12 '14 at 08:03 PM

avatar image cja Jan 08 '15 at 01:30 PM

I used this way to change my cursor,but it will hide in the menu widget,how can i slove that problem?alt text

avatar image eXi Jan 08 '15 at 01:40 PM

I don't know if Epic changed something about this with UMG, but hiding or showing your Mouse Cursor is normaly done with this Node:

asdas

avatar image Ben Halliday STAFF Jan 08 '15 at 09:14 PM

As an additional update, software cursor support should be coming in a future release, possibly 4.8.

avatar image FilipeTessaro Sep 01 '16 at 04:54 AM

ok, good, but how to set up a cursor position and click withou a mouse hardware?

(comments are locked)
10|2000 characters needed characters left

I know that this is old but the new way to do it is to create a widget and use the ''Set Mouse Cursor Widget". I use it in my "Player Controller" class.

alt text

cursor.jpg (122.4 kB)
more ▼

answered Mar 16 '18 at 12:07 PM

avatar image

AssemblerJohn
36 2 6 7

avatar image TommyBoy Dec 07 '18 at 08:05 PM

What the heck is that SET node in between your Create Cursor Widget and the Set Mouse Cursor Widget?

avatar image Zaggoth Dec 12 '18 at 02:03 AM

He's simply setting a reference to it (Return Value -> Promote to Variable) so he can access it later. For example, if he needs to make the cursor do something, like animate, or hide, you can call the Cursor reference they set.

(comments are locked)
10|2000 characters needed characters left
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