# Tilemap working(kinda) but the tile's collision activate/deactivate not working

**URL:** <https://forum.playcanvas.com/t/tilemap-working-kinda-but-the-tiles-collision-activate-deactivate-not-working/40175>\
**Category:** Help & Support\
**Tags:** animation, scripting, physics\
**Created:** [June 12, 2025, 3:05pm UTC](https://forum.playcanvas.com/t/tilemap-working-kinda-but-the-tiles-collision-activate-deactivate-not-working/40175 "2025-06-12T15:05:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Linkplayer](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/linkplayer/32/29263_2.png) [@Linkplayer](https://forum.playcanvas.com/u/Linkplayer)\
**Post date:** [June 12, 2025, 3:05pm UTC](https://forum.playcanvas.com/t/tilemap-working-kinda-but-the-tiles-collision-activate-deactivate-not-working/40175/1 "2025-06-12T15:05:26Z")

</div>

I am working on making a tilemap. I got the adjustment working, and it seems to be updating its positions and its color, but there is a small problem. I tried to make it so that colors 1,2, and 5 don’t have collision, color 3 can be dashed over, and color 4 cannot be bypassed, but the colors might be adjusting wrong. But I cannot tell how.

The tilemap script: [PlayCanvas | HTML5 Game Engine](https://playcanvas.com/editor/code/1242480?tabs=221304304&focused=221304304)

the tilemaps can be tested in the scene “Tilemap Test”

---

<div class="post-metadata">

**Author:** ![Linkplayer](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/linkplayer/32/29263_2.png) [@Linkplayer](https://forum.playcanvas.com/u/Linkplayer)\
**Post date:** [June 12, 2025, 3:50pm UTC](https://forum.playcanvas.com/t/tilemap-working-kinda-but-the-tiles-collision-activate-deactivate-not-working/40175/2 "2025-06-12T15:50:56Z")

</div>

Well, I figured out why they disappeared, but now they no longer have collisions.
