# Query - camera follow my sprite

**URL:** <https://forum.makecode.com/t/query-camera-follow-my-sprite/38809>\
**Category:** Arcade\
**Tags:** game\
**Created:** [August 21, 2025, 4:25pm UTC](https://forum.makecode.com/t/query-camera-follow-my-sprite/38809 "2025-08-21T16:25:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fluffy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fluffy/32/24126_2.png) [@fluffy](https://forum.makecode.com/u/fluffy)\
**Post date:** [August 21, 2025, 4:25pm UTC](https://forum.makecode.com/t/query-camera-follow-my-sprite/38809/1 "2025-08-21T16:25:56Z")

</div>

Hi,

I have a query about ‘camera follow my sprite’

In this platform game, it works:

> **[Platform game](https://arcade.makecode.com/S87556-26297-80650-77852)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

However, in the new game I have been working on, adding ‘camera follow my sprite’ doesn’t work, and it breaks the game. The sprite can not move, even with the move buttons. You can see my code here.

> **[g](https://arcade.makecode.com/S11582-38037-10748-39623)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Can anyone tell me why ‘camera follow my sprite’ works in one game and not the other? What am I missing?

Thanks,  
Fluffy.

---

<div class="post-metadata">

**Author:** ![jwunderl](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jwunderl/32/5308_2.png) [@jwunderl](https://forum.makecode.com/u/jwunderl)\
**Post date:** [August 21, 2025, 4:29pm UTC](https://forum.makecode.com/t/query-camera-follow-my-sprite/38809/2 "2025-08-21T16:29:04Z")

</div>

The easiest way to see what’s going on with the second game is to add another sprite in:

> **[g](https://arcade.makecode.com/92766-19421-65864-44643)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Background images by default are pinned to the camera, so if the camera is following a sprite, it can appear as if nothing is happening. You can see the camera is moving, though, because the stationary taco sprite is ‘moving’ relative to it when the player moves. One option is to add this extension

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/d/e/deec15ae2cff5a5785b8730e3f55fa3c9aa3dd67.png)

which will let you do something like this

> **[g](https://arcade.makecode.com/28573-54500-92138-36804)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.
