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 to turn the mouse cursor on in a new project/level and use it for interaction?

I'm currently working on setting up some RTS control. I've looked at the mouse interaction content example and can't seem to determine how to turn the mouse cursor on in a new project/level and how to use it for interaction.

Currently when I hit play, the mouse cursor stays hidden and when I tag the left mouse click to print mouse location it prints out 0, 0, 112. And no matter how much I move my mouse the position stays locked to this position.

What am I missing?

Thanks!

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '14 at 01:19 AM in Blueprint Scripting

avatar image

SandmanMike
26 3 5 135

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

4 answers: sort voted first

In the PlayerController there are properties in the mouse interface section to specify whether you want the mouse to be visible or not. Probably that's your first step in getting the behaviour you want.

more ▼

answered Mar 27 '14 at 02:05 AM

avatar image

Marc Audy STAFF
2.2k 42 35 95

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

After going through the forums, I found a link to the actual tutorial. Going through this answered all my questions. https://docs.unrealengine.com/latest/INT/Resources/ContentExamples/MouseInterface/index.html

more ▼

answered Mar 27 '14 at 02:22 AM

avatar image

SandmanMike
26 3 5 135

avatar image mykdragn Apr 26 '14 at 07:00 PM

I tried following this but my cursor still doesn't turn into a hand when i mouseover my object. Does the mouse over event not work on the Character Class?

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

Did you try this?

This thing enables and disabled the mouse cursor, i can click an in game UE4 browser with it so it`s interactive with the game.

The 3 can be replaced with any keyboard button, that overlap box is nothing, its`s a leftover from something else.

alt text

more ▼

answered Jun 10 '16 at 09:52 AM

avatar image

VRMMO
6 1 4 7

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

To interact with what is under your mouse you can use this. Just make sure your "PlayerController" is set correctly.

alt textalt text

789.png (78.4 kB)
456.png (168.2 kB)
more ▼

answered Jun 11 '16 at 04:09 AM

avatar image

Thee MuffinMan
73 3 4 7

(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