Input is hitting a UI widget
Setting up mouse over events for a character do not trigger.
1. Open UE4 Editor (third person template)
2. Open ThirdPersonCharacter blueprint
3. Add GetPlayerController node, EventBeginPlay node, Event AcotrBeginCursorOver node, and Print String node
4. Drag from the GetPlayerController return value and create Set Enable Mouse Over Events node
5. Wire Event BeginPlay to Enable MouseOverEvents node and set boolean to true
6. Wire the ActorBeginCursorOver node into the Print String node.
7. In the level blueprint add Event Begin Play and Get Player Controller nodes
8. Drag from Player Controller return value to create Set Show Mouse Cursor node
9. Wire Event BeginPlay to Set Show Mouse Cursor
10. PIE
Result:
The print string in the character does not appear when the mouse hovers over the character
Expected:
Following the same steps for an Actor will print the string to the game screen.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.8.3, 4.9 |
Created | Sep 4, 2015 |
---|---|
Resolved | Sep 8, 2015 |
Updated | Jul 14, 2021 |