# HTML5 game : mouseOver?

**URL:** <https://forums.unrealengine.com/t/html5-game-mouseover/342284>\
**Category:** Platform & Builds\
**Tags:** cursor, HTML5, unreal-engine, question\
**Created:** [December 23, 2015, 4:03pm UTC](https://forums.unrealengine.com/t/html5-game-mouseover/342284 "2015-12-23T16:03:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![siska](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siska](https://forums.unrealengine.com/u/siska)\
**Post date:** [December 23, 2015, 4:03pm UTC](https://forums.unrealengine.com/t/html5-game-mouseover/342284/1 "2015-12-23T16:03:25Z")

</div>

Hi,

Is this normal behavior for an HTML5 game ?  
MouseClicks are working fine, but the MouseOver cursor change (default arrow to hand) isn’t happening …

Other info : 2D game, unlit sprites, blueprints, packaged as ‘desktop game’. MouseOver works fine in standalone Win64 game.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [December 23, 2015, 5:54pm UTC](https://forums.unrealengine.com/t/html5-game-mouseover/342284/2 "2015-12-23T17:54:43Z")

</div>

Hi siska,

- Does this occur in a clean, blank project with no additional content or is it limited to one project?
- What steps are you taking that reproduce this on your end?
- Do you have anything else that may be consuming the mouse over information?
- How are you calling the mouse over event?

---

<div class="post-metadata">

**Author:** ![siska](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siska](https://forums.unrealengine.com/u/siska)\
**Post date:** [December 24, 2015, 9:43am UTC](https://forums.unrealengine.com/t/html5-game-mouseover/342284/3 "2015-12-24T09:43:51Z")

</div>

???  
My reply to you isn’t here ? Strange …

Anyway.  
MouseOver works fine when I pack the game for standalone Win64. It also works fine in the editor. Not in the game packed for HTML5.  
However, mouseClicks work fine in the HTML5 game.

The game is 2D. I have a bunch of Actor BPs with papersprite components, where I scripted the mouseOver events like this :

![71816-mouseover1.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/7/4/574e5ffcbffe594d76bae3520c8c2ef0190a5f88.png)

And something similar for the mouseOverEnd event (setting the cursor back to the default arrow).

I have tried creating a blank project with just my GameMode, PlayerController, orthographic CameraActor, and an actor BP for testing the mouseOver event, but I can’t get past the ‘SyntaxError: malformed Unicode character escape sequence’ … ☹

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_b9532c9a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_b9532c9a](https://forums.unrealengine.com/u/anonymous_user_b9532c9a)\
**Post date:** [December 24, 2015, 3:30pm UTC](https://forums.unrealengine.com/t/html5-game-mouseover/342284/4 "2015-12-24T15:30:45Z")

</div>

Hi siska,

I was able to reproduce this on my end and have entered a bug report, UE-24797, to be assessed by the development staff.

---

<div class="post-metadata">

**Author:** ![siska](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@siska](https://forums.unrealengine.com/u/siska)\
**Post date:** [December 24, 2015, 3:47pm UTC](https://forums.unrealengine.com/t/html5-game-mouseover/342284/5 "2015-12-24T15:47:12Z")

</div>

Thanks  
&  
Happy Holidays !
