# Pointer out of sync with mouse pointer

**URL:** <https://phaser.discourse.group/t/pointer-out-of-sync-with-mouse-pointer/3496>\
**Category:** Phaser 3\
**Created:** [August 17, 2019, 5:11pm UTC](https://phaser.discourse.group/t/pointer-out-of-sync-with-mouse-pointer/3496 "2019-08-17T17:11:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabriel](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/gabriel/32/645_2.png) [@Gabriel](https://phaser.discourse.group/u/Gabriel)\
**Post date:** [August 17, 2019, 5:11pm UTC](https://phaser.discourse.group/t/pointer-out-of-sync-with-mouse-pointer/3496/1 "2019-08-17T17:11:18Z")

</div>

Hey. I made a function that puts a crosshair on the scene that moves with the mouse pointer. The first time the scene is loaded the crosshair is out of sync with the pointer. This is solved by hitting F12 to load the debugger and then closing it. In this gif you can see i cannot get to the bottom of the screen but once I to the debugger trick i can.

How can I solve this? Thanks!!

[sample|526x500](https://phaser.discourse.group/uploads/short-url/iH7NqgJqMEolT9X3kmiZT144n8j.gif)
