# Diagonal movement on 8x8 tiles

**URL:** <https://phaser.discourse.group/t/diagonal-movement-on-8x8-tiles/11112>\
**Category:** Phaser 3\
**Created:** [January 24, 2022, 11:42pm UTC](https://phaser.discourse.group/t/diagonal-movement-on-8x8-tiles/11112 "2022-01-24T23:42:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnlsndbrg](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/dnlsndbrg/32/6148_2.png) [@dnlsndbrg](https://phaser.discourse.group/u/dnlsndbrg)\
**Post date:** [January 24, 2022, 11:42pm UTC](https://phaser.discourse.group/t/diagonal-movement-on-8x8-tiles/11112/1 "2022-01-24T23:42:23Z")

</div>

I’m having problems moving diagonally along tiles on a tilemap with 8x8 pixel tiles. In some instances when sliding towards corners the player character jumps around weirdly.

![8x8-diagonally](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/5/5fdbcd5de6518ea6d42be1883c8099be9c88a86c.gif)

This only seems to happen on 8x8 pixel tiles.

Example codepen: [https://codepen.io/dnlsndbrg/pen/xxXvYjj](https://codepen.io/dnlsndbrg/pen/xxXvYjj)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [January 25, 2022, 3:55pm UTC](https://phaser.discourse.group/t/diagonal-movement-on-8x8-tiles/11112/2 "2022-01-25T15:55:21Z")

</div>

👋

If you’re using Arcade Physics then try `{ tileBias: 8 }` or `{ tileBias: 4}` in the physics config.

---

<div class="post-metadata">

**Author:** ![dnlsndbrg](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/dnlsndbrg/32/6148_2.png) [@dnlsndbrg](https://phaser.discourse.group/u/dnlsndbrg)\
**Post date:** [January 25, 2022, 7:29pm UTC](https://phaser.discourse.group/t/diagonal-movement-on-8x8-tiles/11112/3 "2022-01-25T19:29:09Z")

</div>

Beautiful, that fixes it! 🍪
