# Camera Help

**URL:** <https://forum.defold.com/t/camera-help/75474>\
**Category:** Questions\
**Created:** [December 27, 2023, 7:54pm UTC](https://forum.defold.com/t/camera-help/75474 "2023-12-27T19:54:02Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [December 29, 2023, 2:37pm UTC](https://forum.defold.com/t/camera-help/75474/11 "2023-12-29T14:37:06Z")

</div>

> [@R0ck0.R4m4](#):
>
> My character’s sprite shows up twice when the camera moves to follow him. It looks like I’m seeing double. When he is in the idle state I only see one of him.

I described the same issue here:

> [@Understanding new render script and camera projection](https://forum.defold.com/t/understanding-new-render-script-and-camera-projection/75449/2):
>
> I’ll check and come back to you

Before 1.6.2 it worked flawlessly. Something changed and I can’t yet find out what. I noticed it because I had tutorial written ready in November for camera movement for Platformer, but when I tried to follow my own tutorial - I failed 😅 Before I needed only to attach camera and send the two messages, now it’s not the way 😕

The “doubled” sprite is appearing really fast, because I can’t record it on screen, but I see it on my screen.

I recorded it though with phone:

> [@britzl](#):
>
> Double check that your sprite component isn’t offset by half a pixel or something like that.

Aa, ok - there seems to be issue here.

Position of hero game object (having camera inside) is changed over time with non-integer values. e.g.:

```lua
DEBUG:SCRIPT: vmath.vector3(510.33340454102, 256, 0) -- going right
DEBUG:SCRIPT: vmath.vector3(518.66674804688, 256, 0)
DEBUG:SCRIPT: vmath.vector3(527.00006103516, 256, 0)
DEBUG:SCRIPT: vmath.vector3(535.33337402344, 256, 0)
DEBUG:SCRIPT: vmath.vector3(535.33337402344, 265.72222900391, 0) -- started jumping
DEBUG:SCRIPT: vmath.vector3(535.33337402344, 275.16668701172, 0)

```

Why it’s the issue now and wasn’t before 1.6.2?

---

_[View the full topic](https://forum.defold.com/t/camera-help/75474)._
