# Is this copy-pasta error in hashlink sdl.c or intentional?

**URL:** <https://community.haxe.org/t/is-this-copy-pasta-error-in-hashlink-sdl-c-or-intentional/4634>\
**Category:** Haxe\
**Tags:** haxe-hl\
**Created:** [July 4, 2025, 12:31am UTC](https://community.haxe.org/t/is-this-copy-pasta-error-in-hashlink-sdl-c-or-intentional/4634 "2025-07-04T00:31:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zagortenej](https://community.haxe.org/user_avatar/community.haxe.org/zagortenej/32/848_2.png) [@zagortenej](https://community.haxe.org/u/zagortenej)\
**Post date:** [July 4, 2025, 12:31am UTC](https://community.haxe.org/t/is-this-copy-pasta-error-in-hashlink-sdl-c-or-intentional/4634/1 "2025-07-04T00:31:14Z")

</div>

![Selection_016](https://community.haxe.org/uploads/default/original/2X/1/1f7323eaa6406111b0df9550217c291351df54db.png)

`mouseX` is assigned from `button.x` and `mouseY` from `motion.y`?

From my tests it seems they are ok, the coordinates I’m getting are ok, just curious if there’s a reason behind this or is it just a copy-pasta error…
