# Rotating Camera Control Help

**URL:** <https://forum.makecode.com/t/rotating-camera-control-help/40776>\
**Category:** Help\
**Created:** [December 4, 2025, 7:17pm UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776 "2025-12-04T19:17:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![guywhocancode](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@guywhocancode](https://forum.makecode.com/u/guywhocancode)\
**Post date:** [December 4, 2025, 7:17pm UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/1 "2025-12-04T19:17:57Z")

</div>

> **[Rotating Camera](https://arcade.makecode.com/S54284-09429-91206-13354)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I want to be able to control the player sprite’s movement in sync with the camera movement. What I mean is that if the camera is facing a certain way, I want the arrow keys to move the player sprite relative to the camera, so that up is forward always, down is down, ect. The camera is controlled with J and L keys.

---

<div class="post-metadata">

**Author:** ![Rune](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/rune/32/18951_2.png) [@Rune](https://forum.makecode.com/u/Rune)\
**Post date:** [December 4, 2025, 10:19pm UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/2 "2025-12-04T22:19:19Z")

</div>

You might want to check out my [3rd person proof of concept](https://forum.makecode.com/t/3d-third-person-shooter-proof-of-concept/32693)

---

<div class="post-metadata">

**Author:** ![Dogsprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dogsprite/32/27898_2.png) [@Dogsprite](https://forum.makecode.com/u/Dogsprite)\
**Post date:** [December 5, 2025, 1:57am UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/3 "2025-12-05T01:57:26Z")

</div>

i notticed that in your move block you forgot to set ur varible name to character instead it was mysprite so you should change that and it should be good

---

<div class="post-metadata">

**Author:** ![Dogsprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dogsprite/32/27898_2.png) [@Dogsprite](https://forum.makecode.com/u/Dogsprite)\
**Post date:** [December 5, 2025, 2:04am UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/4 "2025-12-05T02:04:34Z")

</div>

yes i tried it that was the problem V=

[https://arcade.makecode.com/S01784-05747-99812-30653](https://arcade.makecode.com/S01784-05747-99812-30653)

il check on the other problem to try to help fix it

---

<div class="post-metadata">

**Author:** ![guywhocancode](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@guywhocancode](https://forum.makecode.com/u/guywhocancode)\
**Post date:** [December 5, 2025, 7:18pm UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/6 "2025-12-05T19:18:48Z")

</div>

OK, I fixed the camera and have full movement!

> **[Rotating Camera Real](https://arcade.makecode.com/S98147-18065-13550-63110)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![guywhocancode](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@guywhocancode](https://forum.makecode.com/u/guywhocancode)\
**Post date:** [December 7, 2025, 1:20am UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/7 "2025-12-07T01:20:08Z")

</div>

OK, now that I have full camera control, does anyone know how I could make the camera shrink when in a wall so it doesn’t go out of bounds? I tried shrinking and growing the radius before, but it was really shaky. (literally)

---

<div class="post-metadata">

**Author:** ![Dogsprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dogsprite/32/27898_2.png) [@Dogsprite](https://forum.makecode.com/u/Dogsprite)\
**Post date:** [December 8, 2025, 11:47pm UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/8 "2025-12-08T23:47:20Z")

</div>

il try to help with that too.(exspect on thursday or friday)

---

<div class="post-metadata">

**Author:** ![Dogsprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dogsprite/32/27898_2.png) [@Dogsprite](https://forum.makecode.com/u/Dogsprite)\
**Post date:** [December 14, 2025, 11:25pm UTC](https://forum.makecode.com/t/rotating-camera-control-help/40776/9 "2025-12-14T23:25:59Z")

</div>

nvm maybe longer
