# How can I make sprites overlap text sprites

**URL:** <https://forum.makecode.com/t/how-can-i-make-sprites-overlap-text-sprites/32109>\
**Category:** Help\
**Tags:** game, make\
**Created:** [December 2, 2024, 3:02am UTC](https://forum.makecode.com/t/how-can-i-make-sprites-overlap-text-sprites/32109 "2024-12-02T03:02:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IceyDomain](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/iceydomain/32/18326_2.png) [@IceyDomain](https://forum.makecode.com/u/IceyDomain)\
**Post date:** [December 2, 2024, 3:02am UTC](https://forum.makecode.com/t/how-can-i-make-sprites-overlap-text-sprites/32109/1 "2024-12-02T03:02:52Z")

</div>

I’m remaking my old fnaf game because it is one of the first games I have ever made so I decided to use text sprites but my sprite can’t overlap it can someone please help here’s the link:

> **[fanf](https://arcade.makecode.com/S44200-62997-58982-95341)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Also if someone could help me draw Freddy for the title screen I would appreciate it!

---

<div class="post-metadata">

**Author:** ![IceyDomain](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/iceydomain/32/18326_2.png) [@IceyDomain](https://forum.makecode.com/u/IceyDomain)\
**Post date:** [December 3, 2024, 9:53pm UTC](https://forum.makecode.com/t/how-can-i-make-sprites-overlap-text-sprites/32109/2 "2024-12-03T21:53:14Z")

</div>

> **[fanf](https://arcade.makecode.com/S44200-62997-58982-95341)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I did some things but now it’s showing an error but I can’t figure out why

---

<div class="post-metadata">

**Author:** ![a012](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/a012/32/24099_2.png) [@a012](https://forum.makecode.com/u/a012)\
**Post date:** [August 26, 2025, 9:18pm UTC](https://forum.makecode.com/t/how-can-i-make-sprites-overlap-text-sprites/32109/3 "2025-08-26T21:18:43Z")

</div>

The reason why you have an error because Sprite and numbers are not the same type, to do that go back to the function you created it and change the type as number then then the error should be gone now. Here is the accurate code

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/c/0/c0937768a2c12a26f5302996142ca6c863324344.png)
