# Set Current Mouse Cursor doesn't work until mouse is clicked

**URL:** <https://forums.unrealengine.com/t/set-current-mouse-cursor-doesnt-work-until-mouse-is-clicked/1718409>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, question\
**Created:** [February 28, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/set-current-mouse-cursor-doesnt-work-until-mouse-is-clicked/1718409 "2024-02-28T14:59:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pipecamper-23](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pipecamper-23](https://forums.unrealengine.com/u/Pipecamper-23)\
**Post date:** [February 28, 2024, 2:59pm UTC](https://forums.unrealengine.com/t/set-current-mouse-cursor-doesnt-work-until-mouse-is-clicked/1718409/1 "2024-02-28T14:59:07Z")

</div>

I am aware that this question has been asked before however none of the solutions presented have worked for me. In short I have a button that is dynamically created. I use the Bind Event To Button Callback node to capture a click on this button. This executes a function in my 3rd person character blueprint which in turn calls the Set Current Mouse Cursor node within my Player Controller blueprint (See screenshots below). I want my cursor to turn into a hand the moment I click this button. However, the cursor does not change until I click the mouse again. I can click any button, including the mouse wheel, and the cursor will update. How can I make the cursor update immediately and not when I click? As you can see I have added a print node just before the Set Current Mouse Cursor and indeed the text is printed precisely when I click the button, but the cursor is not updated until I click somewhere else. Here is a list of all the solutions I have already tried:

> [@Mouse Cursor Does not Update When Required](https://forums.unrealengine.com/t/mouse-cursor-does-not-update-when-required/364579):
>
> Hello! I’m using the ‘Set Current Mouse Cursor’ node to change the appearance of the mouse cursor on tick, depending on the context required. The problem is that it does not actually update on tick; it seems to be waiting for specific events / queries in order to update. When no mouse button is held, it will update on tick accordingly. If a mouse button is held, it will wait until the button is released before updating the cursor, then not update again until the mouse cursor is moved. I’m genu…

> [@Set Current Cursor not updating till click](https://forums.unrealengine.com/t/set-current-cursor-not-updating-till-click/404166):
>
> I have a widget button set up to change the mouse cursor when pressed. The problem is the cursor doesn’t show the new icon until the mouse is clicked. I’m sure it’s not supposed to function this way, is there a solution at all? The widget setup: This is the cursor after pressing the widget button: This is the cursor after clicking any mouse button, anywhere on the screen. I need it to change to this immediately rather than on cli…

> [@CurrentMouseCursor set in PlayerController is only used when a Mouse Button is held down](https://forums.unrealengine.com/t/currentmousecursor-set-in-playercontroller-is-only-used-when-a-mouse-button-is-held-down/300258):
>
> I have bShowMouseCursor set to true in my project, and the default one shows up just fine, so i wanted to change it depending on what object I’m hovering over. I implemented the logic for that in my player controller’s PlayerTick, using CurrentClickablePrimitive (bEnableMouseOverEvents is true for this variable to be valid), and I’ve confirmed that it sets CurrentMouseCursor on the PlayerController perfectly. However, I’m still getting the default mouse cursor when i hover over things, UNLESS I’…

 ![Screenshot_20240228_073611](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/0/5/70545570a4829127e09e72c76ba012e4f4713340.png)

 ![Screenshot_20240228_073635](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/8/288277e09571260d456c3197a58cf5f3d166bf2e.png)

 ![Screenshot_20240228_073714](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/f/0/af0e45befd2173544ce6579dae70e326d2d3eb58.png)

---

<div class="post-metadata">

**Author:** ![RoobiNoobi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RoobiNoobi](https://forums.unrealengine.com/u/RoobiNoobi)\
**Post date:** [August 9, 2024, 4:48pm UTC](https://forums.unrealengine.com/t/set-current-mouse-cursor-doesnt-work-until-mouse-is-clicked/1718409/2 "2024-08-09T16:48:59Z")

</div>

Hi, I’m having the same problem. Have you managed to find a solution or workaround?

---

<div class="post-metadata">

**Author:** ![KindredGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KindredGames](https://forums.unrealengine.com/u/KindredGames)\
**Post date:** [February 8, 2025, 2:28am UTC](https://forums.unrealengine.com/t/set-current-mouse-cursor-doesnt-work-until-mouse-is-clicked/1718409/3 "2025-02-08T02:28:57Z")

</div>

I just found a solution to this earlier, so I’m going to necropost to help anyone looking for this issue out.

Somewhere at begin play (I’m doing it on my player controller) just use the node “Set focus to game viewport” and it’ll register the cursor so it can begin updating correctly. Unreal apparently doesn’t register it until you’ve clicked after a level load. Not sure why, but this seems to fix it.

---

<div class="post-metadata">

**Author:** ![484b3afa49664b44b4c377d1c2acf3d7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@484b3afa49664b44b4c377d1c2acf3d7](https://forums.unrealengine.com/u/484b3afa49664b44b4c377d1c2acf3d7)\
**Post date:** [April 13, 2025, 1:48pm UTC](https://forums.unrealengine.com/t/set-current-mouse-cursor-doesnt-work-until-mouse-is-clicked/1718409/4 "2025-04-13T13:48:18Z")

</div>

It works. Appreciate!
